- Timestamp:
- Dec 22, 2009, 2:07:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/modules/overlays/hud/HUDNavigation.cc
r6378 r6394 36 36 37 37 #include "util/Math.h" 38 #include "util/StringUtils.h"39 38 #include "util/Convert.h" 40 39 #include "core/CoreIncludes.h" … … 108 107 void HUDNavigation::setFont(const std::string& font) 109 108 { 110 if (this->navText_ && font != "")109 if (this->navText_ && !font.empty()) 111 110 this->navText_->setFontName(font); 112 111 }
Note: See TracChangeset
for help on using the changeset viewer.