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

Michael Smith msmith at xiph.org
Fri Aug 10 16:46:27 PDT 2001



msmith      01/08/10 16:46:27

  Modified:    oggenc   Tag: tools-pre-rc2 utf8.c
  Log:
  Change something in utf8.c for windows, apparently this is better.

Revision  Changes    Path
No                   revision

No                   revision

1.5.2.2   +1 -1      vorbis-tools/oggenc/utf8.c

Index: utf8.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/utf8.c,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -r1.5.2.1 -r1.5.2.2
--- utf8.c	2001/08/10 06:59:14	1.5.2.1
+++ utf8.c	2001/08/10 23:46:26	1.5.2.2
@@ -30,7 +30,7 @@
         unsigned short *unicode;
         int wchars, err;
 
-	wchars = MultiByteToWideChar(GetConsoleCP(), MB_PRECOMPOSED, from,
+	wchars = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, from,
                         strlen(from), NULL, 0);
 
         if(wchars == 0)

--- >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