Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Richard Gobeille
EDuke32
Commits
ebb6f103
Commit
ebb6f103
authored
May 27, 2022
by
Richard Gobeille
Browse files
editor: GCC 12 warning fixes
parent
77f62f70
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/build/src/build.cpp
View file @
ebb6f103
...
...
@@ -650,7 +650,7 @@ int app_main(int argc, char const* const* argv)
editstatus
=
1
;
Bstrncpy
(
game_executable
,
DefaultGameLocalExec
,
sizeof
(
game_executable
));
Bstrncpy
z
(
game_executable
,
DefaultGameLocalExec
,
sizeof
(
game_executable
));
if
((
i
=
ExtPreInit
(
argc
,
argv
))
<
0
)
return
-
1
;
#ifdef STARTUP_SETUP_WINDOW
...
...
@@ -11275,7 +11275,7 @@ void test_map(int32_t mode)
Bstrncpy
(
game_executable
+
slen
,
DefaultGameExec
,
sizeof
(
game_executable
)
-
slen
);
}
else
Bstrncpy
(
game_executable
,
DefaultGameLocalExec
,
sizeof
(
game_executable
));
Bstrncpy
z
(
game_executable
,
DefaultGameLocalExec
,
sizeof
(
game_executable
));
}
if
(
current_cwd
[
0
]
!=
'\0'
)
// Temporarily changing back,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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