Skip to content

Commit 1afe8ef

Browse files
Merge remote-tracking branch 'dhewm3/master'
2 parents ae75f4c + e22f836 commit 1afe8ef

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

neo/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,11 @@ else()
131131
add_definitions(-DIMGUI_DISABLE)
132132
endif()
133133

134-
# Curl
134+
if(DEFINED ENV{MSYSTEM})
135+
message(STATUS "Detected MSYS or similar environment. Using alternate curl path")
136+
set(CURL_NO_CURL_CMAKE ON)
137+
endif()
138+
135139
find_package(CURL QUIET)
136140
if(CURL_FOUND)
137141
set(ID_ENABLE_CURL ON)

neo/ui/Window.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,8 +1117,13 @@ void idWindow::Time() {
11171117
}
11181118
}
11191119
}
1120-
if ( gui->Active() ) {
1121-
gui->GetPendingCmd() += cmd;
1120+
if ( gui->Active() && cmd.Length() > 0 ) {
1121+
// DG: can't just append the command, must separate commands with " ; "
1122+
idStr& pend = gui->GetPendingCmd();
1123+
if ( pend.Length() > 0 ) {
1124+
pend += " ; ";
1125+
}
1126+
pend += cmd;
11221127
}
11231128
}
11241129

0 commit comments

Comments
 (0)