[or-cvs] r14716: Mike Perry suggests making this work with unicode. (torbrowser/trunk/src/RelativeLink)
ioerror at seul.org
ioerror at seul.org
Sun May 25 04:32:38 UTC 2008
Author: ioerror
Date: 2008-05-25 00:32:37 -0400 (Sun, 25 May 2008)
New Revision: 14716
Modified:
torbrowser/trunk/src/RelativeLink/RelativeLink.c
Log:
Mike Perry suggests making this work with unicode.
Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.c
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.c 2008-05-25 04:16:35 UTC (rev 14715)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.c 2008-05-25 04:32:37 UTC (rev 14716)
@@ -29,13 +29,13 @@
si.cb = sizeof(si);
ZeroMemory ( &pi, sizeof(pi) );
- char *ProgramToStart;
- ProgramToStart = "App/vidalia.exe --datadir .\\Data\\Vidalia\\";
+ TCHAR *ProgramToStart;
+ ProgramToStart = TEXT ("App/vidalia.exe --datadir .\\Data\\Vidalia\\");
if( !CreateProcess(
NULL, ProgramToStart, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
{
- MessageBox ( NULL, "Unable to start Vidalia", NULL, NULL );
+ MessageBox ( NULL, TEXT ("Unable to start Vidalia"), NULL, NULL );
return;
}
More information about the tor-commits
mailing list