RetroArch/menu
orbea 13e29308d5 Fix gcc -Wformat-truncation= warnings.
menu/drivers/rgui.c: In function ‘rgui_render’:
menu/drivers/rgui.c:670:53: warning: ‘%-*s’ directive output may be truncated writing up to 2147483648 bytes into a region of size between 0 and 252 [-Wformat-truncation=]
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                                     ^~~~
menu/drivers/rgui.c:676:13:
             type_str_buf);
             ~~~~~~~~~~~~
menu/drivers/rgui.c:670:42: note: assuming directive output of 254 bytes
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                          ^~~~~~~~~~~~~~~~
menu/drivers/rgui.c:670:7: note: ‘snprintf’ output between 4 and 4294967300 bytes into a destination of size 255
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_selected ? '>' : ' ',
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_title_buf,
             ~~~~~~~~~~~~~~~~
             entry_spacing,
             ~~~~~~~~~~~~~~
             type_str_buf);
             ~~~~~~~~~~~~~
menu/drivers/rgui.c:670:53: warning: ‘%-*s’ directive output may be truncated writing up to 2147483648 bytes into a region of size between 0 and 252 [-Wformat-truncation=]
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                                     ^~~~
menu/drivers/rgui.c:676:13:
             type_str_buf);
             ~~~~~~~~~~~~
menu/drivers/rgui.c:670:42: note: assuming directive output of 254 bytes
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
                                          ^~~~~~~~~~~~~~~~
menu/drivers/rgui.c:670:7: note: ‘snprintf’ output between 4 and 4294967300 bytes into a destination of size 255
       snprintf(message, sizeof(message), "%c %-*.*s %-*s",
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_selected ? '>' : ' ',
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             (int)(RGUI_TERM_WIDTH(fb_width) - (entry_spacing + 1 + 2) - entry_title_buf_utf8len + entry_title_buf_len),
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             entry_title_buf,
             ~~~~~~~~~~~~~~~~
             entry_spacing,
             ~~~~~~~~~~~~~~
             type_str_buf);
             ~~~~~~~~~~~~~
2018-12-16 20:22:53 -08:00
..
cbs Merge pull request #7755 from fr500/fixes 2018-12-16 19:46:01 +01:00
drivers Fix gcc -Wformat-truncation= warnings. 2018-12-16 20:22:53 -08:00
drivers_display Vulkan: Fix scissor in menu driver. 2018-11-08 21:45:51 +01:00
widgets cleanup filebrowser too 2018-12-10 23:20:27 -05:00
menu_animation.c Fix c89 build. 2018-12-15 21:03:28 -08:00
menu_animation.h fix: Fix use of freed memory in menu animations 2018-12-15 14:55:10 -07:00
menu_cbs.c Support for "OEM-102" key (usually '\' on Euro keyboards) 2018-09-02 18:24:51 +01:00
menu_cbs.h Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
menu_content.c Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
menu_content.h Remove useless struct 2018-03-25 19:16:39 +02:00
menu_displaylist.c Duplicate entry removed 2018-12-17 00:07:35 +01:00
menu_displaylist.h [LIBNX] Implement Over-/Downclocking and minor fixes 2018-11-29 18:42:44 +01:00
menu_driver.c Fix c89 build with clang. 2018-12-16 07:02:14 -08:00
menu_driver.h fix: Fix use of freed memory in menu animations 2018-12-15 14:55:10 -07:00
menu_entries.c Dropdown lists: Add a checked bool to menu_entry_t 2018-11-05 17:34:57 +01:00
menu_entries.h Dropdown lists: Add a checked bool to menu_entry_t 2018-11-05 17:34:57 +01:00
menu_input.c Create menu_animation_get_delta_time 2018-10-17 06:55:49 +02:00
menu_input.h Merge menu_input.c and menu_event.c 2018-09-25 16:46:15 +02:00
menu_networking.c Move core_len/core_buf to menu_handle_t 2018-03-25 17:35:46 +02:00
menu_networking.h Move core_len/core_buf to menu_handle_t 2018-03-25 17:35:46 +02:00
menu_setting.c menu: Add 'Show Start Recording' and 'Show Start Streaming'. 2018-12-13 18:40:32 -08:00
menu_setting.h Buildfix 2018-10-01 03:42:54 +02:00
menu_shader.c Cleanups 2018-10-06 04:20:54 +02:00
menu_shader.h Get rid of some menu shader functions 2018-02-27 05:07:34 +01:00