Fossil SCM

Fix a problem with web-browser launch on Windows for "fossil chat".

drh 2020-12-24 17:46 trunk
Commit dcc854a98bac0292eccb5f37fbeaf171c84695d6728ed56ca967394a2df3b677
1 file changed +1 -1
+1 -1
--- src/main.c
+++ src/main.c
@@ -2978,11 +2978,11 @@
29782978
#else
29792979
/* Win32 implementation */
29802980
if( isUiCmd ){
29812981
zBrowser = db_get("web-browser", "start");
29822982
if( zChat ){
2983
- zBrowserCmd = mprintf("%s \"%s\" &", zBrowser, zChat);
2983
+ zBrowserCmd = mprintf("%s %s &", zBrowser, zChat);
29842984
}else if( zIpAddr==0 ){
29852985
zBrowserCmd = mprintf("%s http://localhost:%%d/%s &",
29862986
zBrowser, zInitPage);
29872987
}else if( strchr(zIpAddr,':') ){
29882988
zBrowserCmd = mprintf("%s http://[%s]:%%d/%s &",
29892989
--- src/main.c
+++ src/main.c
@@ -2978,11 +2978,11 @@
2978 #else
2979 /* Win32 implementation */
2980 if( isUiCmd ){
2981 zBrowser = db_get("web-browser", "start");
2982 if( zChat ){
2983 zBrowserCmd = mprintf("%s \"%s\" &", zBrowser, zChat);
2984 }else if( zIpAddr==0 ){
2985 zBrowserCmd = mprintf("%s http://localhost:%%d/%s &",
2986 zBrowser, zInitPage);
2987 }else if( strchr(zIpAddr,':') ){
2988 zBrowserCmd = mprintf("%s http://[%s]:%%d/%s &",
2989
--- src/main.c
+++ src/main.c
@@ -2978,11 +2978,11 @@
2978 #else
2979 /* Win32 implementation */
2980 if( isUiCmd ){
2981 zBrowser = db_get("web-browser", "start");
2982 if( zChat ){
2983 zBrowserCmd = mprintf("%s %s &", zBrowser, zChat);
2984 }else if( zIpAddr==0 ){
2985 zBrowserCmd = mprintf("%s http://localhost:%%d/%s &",
2986 zBrowser, zInitPage);
2987 }else if( strchr(zIpAddr,':') ){
2988 zBrowserCmd = mprintf("%s http://[%s]:%%d/%s &",
2989

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button