diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-08 19:53:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-08 20:07:45 +0300 |
commit | d0994f4298641d65700b1bbc90b4ba6effa58320 (patch) | |
tree | 29682232ae58e19965281da6da69702c5dc18d39 /src/gui/fonts/font.h | |
parent | 70081e3b1185eb661c0fa50a9f7d20cecdd30f54 (diff) | |
download | plus-d0994f4298641d65700b1bbc90b4ba6effa58320.tar.gz plus-d0994f4298641d65700b1bbc90b4ba6effa58320.tar.bz2 plus-d0994f4298641d65700b1bbc90b4ba6effa58320.tar.xz plus-d0994f4298641d65700b1bbc90b4ba6effa58320.zip |
Add assert in fonts loading if font size < 4.
Diffstat (limited to 'src/gui/fonts/font.h')
-rw-r--r-- | src/gui/fonts/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h index a96d29a32..71661b494 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -86,7 +86,7 @@ class Font final { public: Font(std::string filename, - const int size, + int size, const int style = 0); A_DELETE_COPY(Font) |