diff options
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r-- | apps/menus/main_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 01b4dbe07a..76ed01d9ba 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c | |||
@@ -425,7 +425,7 @@ static void sleep_timer_formatter(char* buffer, size_t buffer_size, int value, | |||
425 | minutes = value - (hours * 60); | 425 | minutes = value - (hours * 60); |
426 | snprintf(buffer, buffer_size, "%d:%02d", hours, minutes); | 426 | snprintf(buffer, buffer_size, "%d:%02d", hours, minutes); |
427 | } else { | 427 | } else { |
428 | strncpy(buffer, str(LANG_OFF), buffer_size); | 428 | strlcpy(buffer, str(LANG_OFF), buffer_size); |
429 | } | 429 | } |
430 | } | 430 | } |
431 | 431 | ||