| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,11 @@ | |||
| 1 | + 2016-05-23 Bastian Maerkisch <bmaerkisch@web.de> | ||
| 2 | + | ||
| 3 | + * src/win/wmenu.c src/win/wgnuplib.h: Use UTF16 "W" APIs to handle | ||
| 4 | + Unicode. This affects all menu dialog boxes (open/save, directory, | ||
| 5 | + input). It is still assumed that wgnuplot.mnu is encoded using the | ||
| 6 | + ANSI codepage. Reformat source while at it. | ||
| 7 | + Part 5 of wgnuplot Unicode support. | ||
| 8 | + | ||
| 1 | 9 | 2016-05-22 Daniel J Sebald <daniel.sebald@ieee.org> | |
| 2 | 10 | ||
| 3 | 11 | * term/write_png_image.c: gdImageDestroy() needed on code paths for | |
@@ -15,7 +23,7 @@ | |||
| 15 | 23 | ||
| 16 | 24 | 2016-05-21 Bastian Maerkisch <bmaerkisch@web.de> | |
| 17 | 25 | ||
| 18 | - * src/win/wtext.c: Use standard file API instead of _lopen and | ||
| 26 | + * src/win/wmenu.c: Use standard file API instead of _lopen and | ||
| 19 | 27 | friends. | |
| 20 | 28 | ||
| 21 | 29 | * src/misc.c (encoding_from_locale): On Windows, if the current | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * $Id: wgnuplib.h,v 1.75 2016/05/07 12:13:03 markisch Exp $ | ||
| 2 | + * $Id: wgnuplib.h,v 1.76 2016/05/21 05:29:31 markisch Exp $ | ||
| 3 | 3 | */ | |
| 4 | 4 | ||
| 5 | 5 | /* GNUPLOT - win/wgnuplib.h */ | |
@@ -109,14 +109,14 @@ int PauseBox(LPPW lppw); | |||
| 109 | 109 | #define BUTTONMAX 10 | |
| 110 | 110 | typedef struct tagMW | |
| 111 | 111 | { | |
| 112 | - LPSTR szMenuName; /* required */ | ||
| 112 | + LPTSTR szMenuName; /* required */ | ||
| 113 | 113 | HMENU hMenu; | |
| 114 | 114 | BYTE **macro; | |
| 115 | 115 | BYTE *macrobuf; | |
| 116 | 116 | int nCountMenu; | |
| 117 | 117 | DLGPROC lpProcInput; | |
| 118 | - char *szPrompt; | ||
| 119 | - char *szAnswer; | ||
| 118 | + LPWSTR szPrompt; | ||
| 119 | + LPWSTR szAnswer; | ||
| 120 | 120 | int nChar; | |
| 121 | 121 | int nButton; | |
| 122 | 122 | HWND hToolbar; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments