mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
localize card links, add_link, remove_links
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ void uncanonical_name_form_in_place(String& str) {
|
||||
}
|
||||
}
|
||||
|
||||
String unified_form(String& str) {
|
||||
String unified_form(String str) {
|
||||
str = trim(str);
|
||||
for (String::iterator it = str.begin(); it != str.end(); ++it) {
|
||||
if (*it == ' ') *it = '_';
|
||||
|
||||
+1
-1
@@ -244,7 +244,7 @@ inline String uncanonical_name_form(String s) {
|
||||
}
|
||||
|
||||
/// Convert a field name to canonical form, then to lower case, then trim it
|
||||
String unified_form(String&);
|
||||
String unified_form(String);
|
||||
|
||||
/// Convert a field name to a string that can be shown to the user
|
||||
String name_to_caption(const String&);
|
||||
|
||||
Reference in New Issue
Block a user