summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index f67bfe6..c7e325d90 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -5232,7 +5232,12 @@ int save_filename_ui(pixel *vid_buf)
ed.str[0] = 0;
if(svf_fileopen){
+ char * dotloc = NULL;
strncpy(ed.str, svf_filename, 255);
+ if(dotloc = strstr(ed.str, "."))
+ {
+ dotloc[0] = 0;
+ }
ed.cursor = strlen(ed.str);
}