From d3c9aff2f49715ae18f852ddb275455a870e5ddd Mon Sep 17 00:00:00 2001 From: Dante38490 Date: Thu, 15 Jan 2015 02:26:49 +0100 Subject: [PATCH] Fix Typho --- rpcs3/Gui/AboutDialog.h | 2 +- rpcs3/Gui/MainFrame.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Gui/AboutDialog.h b/rpcs3/Gui/AboutDialog.h index 8b7620af74..ed6897f2bb 100644 --- a/rpcs3/Gui/AboutDialog.h +++ b/rpcs3/Gui/AboutDialog.h @@ -36,7 +36,7 @@ AboutDialog::AboutDialog(wxWindow *parent) t_descr->SetForegroundColour(wxColor(255,255,255)); t_descr->SetPosition(wxPoint(12,50)); -#ifdef WIN32 +#ifdef _WIN32 wxStaticText* t_version = new wxStaticText(this, wxID_ANY, wxString::Format(_PRGNAME_" Version : " "git-" RPCS3_GIT_VERSION)); #else wxStaticText* t_version = new wxStaticText(this, wxID_ANY, wxString::Format(_PRGNAME_" Version : " _PRGVER_)); diff --git a/rpcs3/Gui/MainFrame.cpp b/rpcs3/Gui/MainFrame.cpp index 98d2d69bba..067d537b34 100644 --- a/rpcs3/Gui/MainFrame.cpp +++ b/rpcs3/Gui/MainFrame.cpp @@ -5,7 +5,7 @@ #include "rpcs3.h" #include "MainFrame.h" -#ifndef __unix__ +#ifdef _WIN32 #include "git-version.h" #endif #include "Ini.h" @@ -72,7 +72,7 @@ MainFrame::MainFrame() , m_sys_menu_opened(false) { -#ifdef WIN32 +#ifdef _WIN32 SetLabel(wxString::Format(_PRGNAME_ " " RPCS3_GIT_VERSION)); #else SetLabel(wxString::Format(_PRGNAME_ " " _PRGVER_));