Mercurial > geeqie.yaz
diff src/utilops.c @ 726:a1dcef8cd1ae
Use G_DIR_SEPARATOR where applicable.
| author | zas_ |
|---|---|
| date | Wed, 21 May 2008 11:07:23 +0000 |
| parents | 7638e83fed2a |
| children | 2d8a8e892b5e |
line wrap: on
line diff
--- a/src/utilops.c Wed May 21 11:00:13 2008 +0000 +++ b/src/utilops.c Wed May 21 11:07:23 2008 +0000 @@ -1109,7 +1109,7 @@ return; } - if (!fdlg->dest_path || fdlg->dest_path[0] != '/') + if (!fdlg->dest_path || fdlg->dest_path[0] != G_DIR_SEPARATOR) { if (fdlg->source_fd) { @@ -2772,7 +2772,7 @@ if (strlen(name) == 0) return; - if (name[0] == '/') + if (name[0] == G_DIR_SEPARATOR) { gchar *buf; buf = remove_level_from_path(name);
