diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/emu_window.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h index 34cecb40b..4d09acb8b 100644 --- a/src/common/emu_window.h +++ b/src/common/emu_window.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include "common/common.h" | 7 | #include "common/common.h" |
| 8 | #include "common/scm_rev.h" | 8 | #include "common/scm_rev.h" |
| 9 | 9 | #include "common/string_util.h" | |
| 10 | #include "common/key_map.h" | 10 | #include "common/key_map.h" |
| 11 | 11 | ||
| 12 | // Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL, | 12 | // Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL, |
| @@ -75,11 +75,11 @@ public: | |||
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | protected: | 77 | protected: |
| 78 | EmuWindow() : m_client_area_width(640), m_client_area_height(480) { | 78 | EmuWindow(): |
| 79 | char window_title[255]; | 79 | m_client_area_width(640), |
| 80 | sprintf(window_title, "Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc); | 80 | m_client_area_height(480), |
| 81 | m_window_title = window_title; | 81 | m_window_title(Common::StringFromFormat("Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc)) |
| 82 | } | 82 | {} |
| 83 | virtual ~EmuWindow() {} | 83 | virtual ~EmuWindow() {} |
| 84 | 84 | ||
| 85 | std::string m_window_title; ///< Current window title, should be used by window impl. | 85 | std::string m_window_title; ///< Current window title, should be used by window impl. |