summaryrefslogtreecommitdiff
path: root/src/bin/e_alert_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_alert_main.c')
-rw-r--r--src/bin/e_alert_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c
index 635b847..bb62d17 100644
--- a/src/bin/e_alert_main.c
+++ b/src/bin/e_alert_main.c
@@ -14,10 +14,6 @@
14#include <xcb/xcb.h> 14#include <xcb/xcb.h>
15#include <xcb/shape.h> 15#include <xcb/shape.h>
16 16
17#ifndef PATH_MAX
18#define PATH_MAX 4096
19#endif
20
21#define WINDOW_WIDTH 320 17#define WINDOW_WIDTH 320
22#define WINDOW_HEIGHT 240 18#define WINDOW_HEIGHT 240
23 19
@@ -451,7 +447,7 @@ static void
451_e_alert_draw_text(void) 447_e_alert_draw_text(void)
452{ 448{
453 xcb_void_cookie_t cookie; 449 xcb_void_cookie_t cookie;
454 char warn[1024], msg[PATH_MAX], line[1024]; 450 char warn[1024], msg[4096], line[1024];
455 unsigned int i = 0, j = 0, k = 0; 451 unsigned int i = 0, j = 0, k = 0;
456 452
457 snprintf(msg, sizeof(msg), 453 snprintf(msg, sizeof(msg),