[or-cvs] r14715: Use MessageBox rather than printf, we have no console. (torbrowser/trunk/src/RelativeLink)

ioerror at seul.org ioerror at seul.org
Sun May 25 04:16:35 UTC 2008


Author: ioerror
Date: 2008-05-25 00:16:35 -0400 (Sun, 25 May 2008)
New Revision: 14715

Modified:
   torbrowser/trunk/src/RelativeLink/RelativeLink.c
Log:
Use MessageBox rather than printf, we have no console.


Modified: torbrowser/trunk/src/RelativeLink/RelativeLink.c
===================================================================
--- torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-05-25 03:57:15 UTC (rev 14714)
+++ torbrowser/trunk/src/RelativeLink/RelativeLink.c	2008-05-25 04:16:35 UTC (rev 14715)
@@ -35,7 +35,7 @@
     if( !CreateProcess( 
         NULL, ProgramToStart, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
     {
-         printf("Unable to start Vidalia: (%d)\n", GetLastError() );
+         MessageBox ( NULL, "Unable to start Vidalia", NULL, NULL );
          return;
     }
 



More information about the tor-commits mailing list