File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,11 @@ else()
131131 add_definitions (-DIMGUI_DISABLE)
132132endif ()
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+
135139find_package (CURL QUIET )
136140if (CURL_FOUND)
137141 set (ID_ENABLE_CURL ON )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments