From: David Griffith Date: Sat, 1 Jul 2017 09:25:49 +0000 (-0700) Subject: Style correction. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=630d4fae05771651a8d00869e46be2352b4d1386;p=liskon_frotz.git Style correction. --- diff --git a/src/curses/ux_input.c b/src/curses/ux_input.c index d467b8f..eb6bdef 100644 --- a/src/curses/ux_input.c +++ b/src/curses/ux_input.c @@ -677,6 +677,7 @@ int os_read_file_name (char *file_name, const char *default_name, int UNUSED(fla strcpy (file_name, default_name); /* Check if we're restricted to one directory. */ + if (f_setup.restricted_path != NULL) { for (i = strlen(file_name); i > 0; i--) { if (file_name[i] == PATH_SEPARATOR) {