diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/chat.cc | 2 | ||||
-rw-r--r-- | src/client/video.cc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc index 013d525..bdce6d8 100644 --- a/src/client/chat.cc +++ b/src/client/chat.cc @@ -181,7 +181,7 @@ void Chat::update_player_list() for (core::GameInterface::Players::const_iterator it = core::game()->players().begin(); it != core::game()->players().end(); it++) { ui::ListItem *listitem = new ui::ListItem(chat_playerlist, (*it)->name().c_str()); listitem->set_height(listitem->font()->height() * 1.5f); - listitem->set_sortkey(aux::text_strip_lowercase((*it)->name()); + listitem->set_sortkey(aux::text_strip_lowercase((*it)->name())); } chat_playerlist->sort(); diff --git a/src/client/video.cc b/src/client/video.cc index cd675f7..330ba6b 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -88,6 +88,11 @@ bool init() // set the window icon + /* + * FIXME + * store the icon as binary data + * and use SDL_CreateRGBSurfaceFrom to create the icon + */ filesystem::File *iconfile = filesystem::open("bitmaps/icon.bmp"); if (iconfile) { std::string iconfilename = iconfile->path(); |