From a34eae25281d4220d3ee25ac7d6dedcc65ad71a5 Mon Sep 17 00:00:00 2001 From: giantpune Date: Mon, 15 Jun 2009 06:36:26 +0000 Subject: [PATCH] put cios# in credits with the Rev# --- gui.pnps | 2 +- source/prompts/PromptWindows.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gui.pnps b/gui.pnps index 12ebc6fa..bb65b12b 100644 --- a/gui.pnps +++ b/gui.pnps @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/source/prompts/PromptWindows.cpp b/source/prompts/PromptWindows.cpp index 529c84ce..274d94e6 100644 --- a/source/prompts/PromptWindows.cpp +++ b/source/prompts/PromptWindows.cpp @@ -168,11 +168,11 @@ void WindowCredits() txt[i] = new GuiText(LANGUAGE.Credits, 26, (GXColor){255, 255, 255, 255}); txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,12); i++; - char SvnRev[10]; - snprintf(SvnRev, 10, "Rev%s", SVN_REV); + char SvnRev[30]; + snprintf(SvnRev,sizeof(SvnRev), "Rev%s IOS%u (Rev %u)", SVN_REV, IOS_GetVersion(), IOS_GetRevision()); - txt[i] = new GuiText(SvnRev, 18, (GXColor){255, 255, 255, 255}); - txt[i]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP); txt[i]->SetPosition(-30,y); i++; y+=34; + txt[i] = new GuiText(SvnRev, 16, (GXColor){255, 255, 255, 255}); + txt[i]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP); txt[i]->SetPosition(0,y); i++; y+=34; txt[i] = new GuiText("USB Loader GX", 24, (GXColor){255, 255, 255, 255}); txt[i]->SetAlignment(ALIGN_CENTRE, ALIGN_TOP); txt[i]->SetPosition(0,y); i++; y+=26;