Skip to content

Commit

Permalink
Add Julius to the version string on the main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
bvschaik committed Jun 1, 2020
1 parent ca52706 commit 450ad6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/window/main_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ static generic_button buttons[] = {

static void draw_version_string(void)
{
uint8_t version_string[100] = "v";
uint8_t version_string[100] = "Julius v";
int version_prefix_length = string_length(version_string);
int text_y = screen_height() - 30;

string_copy(string_from_ascii(system_version()), version_string + 1, 99);
string_copy(string_from_ascii(system_version()), version_string + version_prefix_length, 99);

int text_width = text_get_width(version_string, FONT_SMALL_PLAIN);

Expand Down

0 comments on commit 450ad6c

Please sign in to comment.