aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-09-29 03:26:16 +0300
committerCrystalwarrior <varsash@gmail.com>2019-09-29 03:26:16 +0300
commit30c02221d282cb4d340aa38334f89e4825fa39d0 (patch)
treee353b34c99ca307cc97c7b2cf97cc2fa736d35e7 /src/text_file_functions.cpp
parentb0f11e53dff7187a147f01da2d8da5bf392cd38d (diff)
Make the client select a default font that resembles classic AA font the most (cleartype off, MS Sans)
Create a better method to replace trailing whitespace with proper HTML representation Don't bother rendering the string character-by-character to prevent any latency happening with instant text speed
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index b9764343..2b86a1e1 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -315,7 +315,7 @@ QString AOApplication::get_font_name(QString p_identifier, QString p_file)
{
f_result = read_design_ini(p_identifier, default_path);
if (f_result == "")
- return "Sans";
+ return "";
}
return f_result;
}