diff options
author | Marco Peereboom <marco@conformal.com> | 2012-01-24 15:16:57 -0600 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-01-24 15:16:57 -0600 |
commit | d687d46316edad2fbd5d2a6c1357b9dc5900ee62 (patch) | |
tree | ab7302e230a033acb16e4a2a7e2171fd1c77fe4f /about.c | |
parent | 3744fef66ef58af9ea56286637efef0e2e4d0101 (diff) | |
download | xombrero-d687d46316edad2fbd5d2a6c1357b9dc5900ee62.tar.gz |
also fixup PS over here
Diffstat (limited to 'about.c')
-rw-r--r-- | about.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/about.c b/about.c index 411092f..8e2dcce 100644 --- a/about.c +++ b/about.c @@ -189,7 +189,7 @@ load_webkit_string(struct tab *t, const char *str, gchar *title) gtk_spinner_stop(GTK_SPINNER(t->spinner)); gtk_widget_hide(t->spinner); #endif - snprintf(file, sizeof file, "%s/%s", resource_dir, icons[0]); + snprintf(file, sizeof file, "%s" PS "%s", resource_dir, icons[0]); xt_icon_from_file(t, file); } } @@ -577,7 +577,7 @@ remove_favorite(struct tab *t, int index) size_t len, lineno; /* open favorites */ - snprintf(file, sizeof file, "%s/%s", work_dir, XT_FAVS_FILE); + snprintf(file, sizeof file, "%s" PS "%s", work_dir, XT_FAVS_FILE); if ((f = fopen(file, "r")) == NULL) { show_oops(t, "%s: can't open favorites: %s", @@ -661,7 +661,7 @@ add_favorite(struct tab *t, struct karg *args) return (1); } - snprintf(file, sizeof file, "%s/%s", work_dir, XT_FAVS_FILE); + snprintf(file, sizeof file, "%s" PS "%s", work_dir, XT_FAVS_FILE); if ((f = fopen(file, "r+")) == NULL) { show_oops(t, "Can't open favorites file: %s", strerror(errno)); return (1); @@ -967,7 +967,7 @@ xtp_page_fl(struct tab *t, struct karg *args) generate_xtp_session_key(&fl_session_key); /* open favorites */ - snprintf(file, sizeof file, "%s/%s", work_dir, XT_FAVS_FILE); + snprintf(file, sizeof file, "%s" PS "%s", work_dir, XT_FAVS_FILE); if ((f = fopen(file, "r")) == NULL) { show_oops(t, "Can't open favorites file: %s", strerror(errno)); return (1); |