Skip to content

Commit

Permalink
Fix: incorrect strings
Browse files Browse the repository at this point in the history
  • Loading branch information
badcast committed Nov 28, 2023
1 parent a580d87 commit 3f95b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/ui_authorize.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ gboolean on_signup_user(gpointer userData)
snprintf(
buf,
sizeof(buf),
_("Error registration:\nError codew: %d\nMessage error: %s"),
_("Error registration:\nError code: %d\nMessage error: %s"),
widgets.signup_tab.tea_reg_result.status,
tea_error_string(widgets.signup_tab.tea_reg_result.status));
ui_error(buf);
Expand Down
2 changes: 1 addition & 1 deletion src/tea.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void tea_load_conf(struct tea_settings *tea, const char *filename)
fseek(config_file, 0, SEEK_END);
len = ftell(config_file);

// size config file >= 5M
// size config file >= 5MB
if(len >= 500000)
{
// config file is big (maybe corrupted)
Expand Down

0 comments on commit 3f95b5b

Please sign in to comment.