Vera.ttf was moved from images/misc to new directory fonts/.
src/font.cpp was modified to reflect that change.
This commit is contained in:
parent
df298355c7
commit
cdf3f3fa9b
4 changed files with 3 additions and 2 deletions
1
fonts/.gitignore
vendored
Normal file
1
fonts/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.swp
|
BIN
fonts/Vera.ttf
Normal file
BIN
fonts/Vera.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
@ -44,11 +44,11 @@ TTF_Font* get_font(int size)
|
|||
std::cerr << "opening font file...\n";
|
||||
|
||||
#ifdef WESNOTH_PATH
|
||||
font = open_font(std::string(WESNOTH_PATH) + "/images/misc/Vera.ttf",size);
|
||||
font = open_font(std::string(WESNOTH_PATH) + "/fonts/Vera.ttf",size);
|
||||
#endif
|
||||
|
||||
if(font == NULL) {
|
||||
font = open_font("images/misc/Vera.ttf",size);
|
||||
font = open_font("fonts/Vera.ttf",size);
|
||||
}
|
||||
|
||||
if(font == NULL) {
|
||||
|
|
Loading…
Add table
Reference in a new issue