Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Fixed issue with displaying psn info (issue #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZombieWizzard committed Aug 30, 2016
1 parent ed289c9 commit 289c1fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define FONT_Y_SPACE 23.0f * FONT_SIZE

#define TITLE "Vita Activator"
#define VER "1.0"
#define VER "1.1"

#define SCREEN_WIDTH 960
#define SCREEN_HEIGHT 544
Expand Down Expand Up @@ -270,9 +270,9 @@ int main(int argc, char** argv) {
width = vita2d_printf(pgf, 7.0f, WHITE, "Error: ");
vita2d_xprintf(pgf, width, 7.0f, CYAN, "%s", error);
width = vita2d_printf(pgf, 8.0f, WHITE, "Email: ");
vita2d_xprintf(pgf, width, 8.0f, email[0] == 0 ? RED : CYAN, email[0] == 0 ? "UNDEF" : email);
vita2d_xprintf(pgf, width, 8.0f, email[0] == 0 ? RED : CYAN, "%s", email[0] == 0 ? "UNDEF" : email);
width = vita2d_printf(pgf, 9.0f, WHITE, "Password: ");
vita2d_xprintf(pgf, width, 9.0f, password[0] == 0 ? RED : CYAN, password[0] == 0 ? "UNDEF" : password);
vita2d_xprintf(pgf, width, 9.0f, password[0] == 0 ? RED : CYAN, "%s", password[0] == 0 ? "UNDEF" : password);
width = vita2d_printf(pgf, 10.0f, WHITE, "IDPS: ");
vita2d_xprintf(pgf, width, 10.0f, idps[0] == 0 ? RED : CYAN, idps[0] == 0 ? "UNDEF" : idps);
width = vita2d_printf(pgf, 11.0f, WHITE, "To exit Vita Activator press ");
Expand Down

0 comments on commit 289c1fc

Please sign in to comment.