comparison src/ui_utildlg.c @ 726:a1dcef8cd1ae

Use G_DIR_SEPARATOR where applicable.
author zas_
date Wed, 21 May 2008 11:07:23 +0000
parents e07895754e65
children 3096a47232ec
comparison
equal deleted inserted replaced
725:eda074e91ddd 726:a1dcef8cd1ae
384 history_key, -1, file_dialog_entry_enter_cb, fdlg); 384 history_key, -1, file_dialog_entry_enter_cb, fdlg);
385 gtk_box_pack_end(GTK_BOX(GENERIC_DIALOG(fdlg)->vbox), tabcomp, FALSE, FALSE, 0); 385 gtk_box_pack_end(GTK_BOX(GENERIC_DIALOG(fdlg)->vbox), tabcomp, FALSE, FALSE, 0);
386 generic_dialog_attach_default(GENERIC_DIALOG(fdlg), fdlg->entry); 386 generic_dialog_attach_default(GENERIC_DIALOG(fdlg), fdlg->entry);
387 gtk_widget_show(tabcomp); 387 gtk_widget_show(tabcomp);
388 388
389 if (path && path[0] == '/') 389 if (path && path[0] == G_DIR_SEPARATOR)
390 { 390 {
391 fdlg->dest_path = g_strdup(path); 391 fdlg->dest_path = g_strdup(path);
392 } 392 }
393 else 393 else
394 { 394 {