Commit 60091cf5 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

slab6x: set window title to new filename when saving files

parent acf92f1d
......@@ -6395,7 +6395,15 @@ static int mymenufunc(WPARAM wparam, LPARAM lparam)
else { sprintf(message,"ERROR: Must specify 1 of the valid file extensions!"); break; }
if (i >= 0) { sprintf(message,"Saved '%s' with %d mip levels",curfilnam,i); break; }
if (i >= 0)
GetFullPathName(curfilnam, sizeof(tbuf), tbuf, &fn);
sprintf(message, "SLAB6X - %s", fn);
SetWindowText(ghwnd, message);
sprintf(message, "Saved '%s' with %d mip levels", fn, i);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment