minimize defines
This commit is contained in:
@@ -29,7 +29,7 @@ bool Font::isPrintableChar(int c) {
|
||||
}
|
||||
}
|
||||
|
||||
#define RES 16
|
||||
const int RES = 16;
|
||||
|
||||
int Font::calcWidth(std::wstring text) {
|
||||
return text.length() * 8;
|
||||
|
||||
Reference in New Issue
Block a user