Skip to content

Commit

Permalink
fixed sdl2 version numbers conversion to string
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 4, 2021
1 parent 55b32e0 commit 02ea5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/gui/PanelAbout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ void InitPanelAbout(const struct _ConfigCategory& category)
icon = new gcn::Icon(amiberryLogoImage);
lblEmulatorVersion = new gcn::Label(get_version_string());
std::ostringstream sdl_compiled;
sdl_compiled << "Compiled against SDL2 " << compiled.major << "." << compiled.minor << "." << compiled.patch;
sdl_compiled << "Compiled against SDL2 " << int(compiled.major) << "." << int(compiled.minor) << "." << int(compiled.patch);
lblSDL_compiled_version = new gcn::Label(sdl_compiled.str());
std::ostringstream sdl_linked;
sdl_linked << "Linked against SDL2 " << linked.major << "." << linked.minor << "." << linked.patch;
sdl_linked << "Linked against SDL2 " << int(linked.major) << "." << int(linked.minor) << "." << int(linked.patch);
lblSDL_linked_version = new gcn::Label(sdl_linked.str());

textBox = new gcn::TextBox(
Expand Down

0 comments on commit 02ea5f6

Please # to comment.