comparison main.c @ 442:ecbd9773c74b

Minor win32 build fix.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 May 2012 21:43:21 +0300
parents 70ea06294f3f
children 96cb82ebb93b
comparison
equal deleted inserted replaced
441:7edc6a4365de 442:ecbd9773c74b
904 904
905 printMsg(currWin, "Opening profile for: '%s'\n", name); 905 printMsg(currWin, "Opening profile for: '%s'\n", name);
906 906
907 #ifdef __WIN32 907 #ifdef __WIN32
908 uri = th_strdup_printf(SET_PROFILE_PREFIX, enc_name); 908 uri = th_strdup_printf(SET_PROFILE_PREFIX, enc_name);
909 status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA); 909 status = ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNA);
910 if (status <= (HINSTANCE) 32) 910 if (status <= (HINSTANCE) 32)
911 { 911 {
912 printMsgQ(currWin, "Could not launch default web browser: %d\n", status); 912 printMsgQ(currWin, "Could not launch default web browser: %d\n", status);
913 } 913 }
914 #else 914 #else