[xiph-cvs] cvs commit: vorbis-tools/oggenc utf8.c

Michael Smith msmith at xiph.org
Tue Aug 14 05:55:52 PDT 2001



msmith      01/08/14 05:55:52

  Modified:    oggenc   utf8.c
  Log:
  Some other win32 fix.

Revision  Changes    Path
1.7       +1 -1      vorbis-tools/oggenc/utf8.c

Index: utf8.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/utf8.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- utf8.c	2001/08/13 04:45:21	1.6
+++ utf8.c	2001/08/14 12:55:51	1.7
@@ -46,7 +46,7 @@
                 return 1;
         }
 
-	err = MultiByteToWideChar(GetConsoleCP(), MB_PRECOMPOSED, from, 
+	err = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, from, 
                         strlen(from), unicode, wchars);
         if(err != wchars)
         {

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list