Skip to content

Commit

Permalink
Fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Monsterovich authored and past-due committed Jun 2, 2024
1 parent c3c09e8 commit 1c0728a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multimenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ void addMultiRequest(const char *searchDir, const char *fileExtension, UDWORD mo
searchBox->setString(WzString::fromUtf8(current_searchString));

searchBox->setOnEditingStoppedHandler([searchDir, fileExtension, mode, numPlayers](W_EDITBOX& widg) {
const std::string &value = widg.getString().toUtf8();
std::string value = widg.getString().toUtf8();
if (value == current_searchString) {
return;
}
Expand Down

0 comments on commit 1c0728a

Please sign in to comment.