changeset 442:ecbd9773c74b

Minor win32 build fix.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 May 2012 21:43:21 +0300
parents 7edc6a4365de
children 96cb82ebb93b
files main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Fri May 25 21:42:30 2012 +0300
+++ b/main.c	Fri May 25 21:43:21 2012 +0300
@@ -906,7 +906,7 @@
 
 #ifdef __WIN32
     uri = th_strdup_printf(SET_PROFILE_PREFIX, enc_name);
-    status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA);
+    status = ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNA);
     if (status <= (HINSTANCE) 32)
     {
         printMsgQ(currWin, "Could not launch default web browser: %d\n", status);