projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escape # character in call to g_spawn_command_line_async
[pspp-builds.git]
/
src
/
ui
/
gui
/
help-menu.c
diff --git
a/src/ui/gui/help-menu.c
b/src/ui/gui/help-menu.c
index 733580770bbea035a38432e35768b1665a1a18b5..f746441c231ebc827f63754c129a455ee763e34b 100644
(file)
--- a/
src/ui/gui/help-menu.c
+++ b/
src/ui/gui/help-menu.c
@@
-95,9
+95,7
@@
online_help (const char *page)
if (page == NULL)
cmd = g_strdup_printf ("yelp file://%s", relocate (DOCDIR "/pspp.xml"));
else
if (page == NULL)
cmd = g_strdup_printf ("yelp file://%s", relocate (DOCDIR "/pspp.xml"));
else
- cmd = g_strdup_printf ("yelp file://%s#%s", relocate (DOCDIR "/pspp.xml"), page);
-
- g_print ("%s\n",cmd);
+ cmd = g_strdup_printf ("yelp file://%s\\#%s", relocate (DOCDIR "/pspp.xml"), page);
if ( ! g_spawn_command_line_async (cmd, &err) )
{
if ( ! g_spawn_command_line_async (cmd, &err) )
{