kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=96b538a6e1880d699730b2c40d455a77dda8fab5

commit 96b538a6e1880d699730b2c40d455a77dda8fab5
Author: Kim Woelders <[email protected]>
Date:   Thu Feb 7 19:30:24 2019 +0100

    Warning fix for gcc 9
---
 src/theme.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/theme.c b/src/theme.c
index b27ea5e3..752aac76 100644
--- a/src/theme.c
+++ b/src/theme.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2018 Kim Woelders
+ * Copyright (C) 2004-2019 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -233,7 +233,7 @@ _ThemeExtract(const char *path)
 
    p = strrchr(path, '/');
    p = (p) ? p + 1 : path;
-   Esnprintf(name, sizeof(name), "%s", p);
+   Esnprintf(name, sizeof(name), "%.127s", p);
    type = strchr(name, '.');
    if (type)
       *type++ = '\0';

-- 


Reply via email to