Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EDuke32
SLAB6X
Commits
60091cf5
Commit
60091cf5
authored
Jul 26, 2022
by
Richard Gobeille
Browse files
slab6x: set window title to new filename when saving files
parent
acf92f1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/slab6.cpp
View file @
60091cf5
...
...
@@ -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
)
{
LPSTR
fn
;
GetFullPathName
(
curfilnam
,
sizeof
(
tbuf
),
tbuf
,
&
fn
);
sprintf
(
message
,
"SLAB6X - %s"
,
fn
);
SetWindowText
(
ghwnd
,
message
);
sprintf
(
message
,
"Saved '%s' with %d mip levels"
,
fn
,
i
);
break
;
}
}
readklock
(
&
dtotclk
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment