Changeset 22496 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine
- Timestamp:
- Aug 27, 2009 8:57:47 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/cptable.c
r16477 r22496 27 27 * of the LGPL is applied is otherwise unspecified. 28 28 */ 29 30 #include "config.h" 31 #include "wine/port.h" 29 32 30 33 #include <stdlib.h> -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/defaults
r21731 r22496 34 34 # are handled automatically and do not have to be defined here. They can 35 35 # still be defined if necessary to override the unicode decomposition. 36 # 37 38 # 39 # Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice 40 # other than GPL or LGPL is available it will apply instead, Sun elects to use only 41 # the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where 42 # a choice of LGPL license versions is made available with the language indicating 43 # that LGPLv2 or any later version may be used, or where a choice of which version 44 # of the LGPL is applied is otherwise unspecified. 36 45 # 37 46 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/loader.c
r19678 r22496 59 59 #define environ (*_NSGetEnviron()) 60 60 #else 61 # ifndef _MSC_VER 61 62 extern char **environ; 63 # endif 62 64 #endif 63 65 … … 458 460 char **__wine_get_main_environment(void) 459 461 { 462 #ifndef _MSC_VER 460 463 return environ; 464 #else 465 return _environ; 466 #endif 461 467 } 462 468 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/mbtowc.c
r19678 r22496 28 28 */ 29 29 30 #include "config.h" 31 #include "wine/port.h" 32 30 33 #include <string.h> 31 34 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/string.c
r19678 r22496 27 27 * of the LGPL is applied is otherwise unspecified. 28 28 */ 29 30 #include "config.h" 31 #include "wine/port.h" 29 32 30 33 #include <assert.h> -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/utf8.c
r16477 r22496 28 28 */ 29 29 30 #include "config.h" 31 #include "wine/port.h" 32 30 33 #include <string.h> 31 34 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/version.c
r21731 r22496 1 const char wine_build[] = "wine-1.1.2 6";1 const char wine_build[] = "wine-1.1.27"; -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/wctomb.c
r16477 r22496 28 28 */ 29 29 30 #include "config.h" 31 #include "wine/port.h" 32 30 33 #include <string.h> 31 34 … … 79 82 WCHAR wch, unsigned char ch ) 80 83 { 81 if ( flags & WC_NO_BEST_FIT_CHARS) return (table->cp2uni[ch] == wch);82 if (ch != (unsigned char)table->info.def_char) return 1;83 return (wch == table->info.def_unicode_char);84 if ((flags & WC_NO_BEST_FIT_CHARS) || ch == (unsigned char)table->info.def_char) 85 return (table->cp2uni[ch] == wch); 86 return 1; 84 87 } 85 88 … … 272 275 WCHAR wch, unsigned short ch ) 273 276 { 274 if (ch == table->info.def_char && wch != table->info.def_unicode_char) return 0; 275 if (flags & WC_NO_BEST_FIT_CHARS) 277 if ((flags & WC_NO_BEST_FIT_CHARS) || ch == table->info.def_char) 276 278 { 277 279 /* check if char maps back to the same Unicode value */
Note:
See TracChangeset
for help on using the changeset viewer.