Skip to content

Commit 3d0b03e

Browse files
committed
Trim whitespace from console labels
(accounting for the space character sorting trick)
1 parent 7890c84 commit 3d0b03e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/search/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void performSearch(Display* display, string keyword)
8585

8686
vector<RomEntry> result = db::searchEntries(name, keyword);
8787
int subtotal = result.size();
88-
string label = config.label + " (" + std::to_string(subtotal) + ")";
88+
string label = trim(config.label) + " (" + std::to_string(subtotal) + ")";
8989

9090
if (subtotal <= 0)
9191
continue;
@@ -113,7 +113,7 @@ void performSearch(Display* display, string keyword)
113113
flipText(display, "Searching... " + std::to_string(current_emu) + "/" + std::to_string(total_emu));
114114
}
115115

116-
flipText(display, "Compiling results...");
116+
flipText(display, "Done");
117117

118118
string all_label = "All consoles (" + std::to_string(total) + ")";
119119

0 commit comments

Comments
 (0)