From e106f510a78a9a80e5324f32449dfc0a291afdc6 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Sat, 8 Feb 2003 16:12:06 +0000
Subject: [PATCH] Reduce the buffer from 512 to 80 bytes.

(Old svn revision: 10907)
---
 mcs-plugin/xfwm4_plugin.c | 2 +-
 src/parserc.c             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mcs-plugin/xfwm4_plugin.c b/mcs-plugin/xfwm4_plugin.c
index fa376e756..8ebe0ff30 100644
--- a/mcs-plugin/xfwm4_plugin.c
+++ b/mcs-plugin/xfwm4_plugin.c
@@ -531,7 +531,7 @@ static ThemeInfo *find_theme_info_by_name(const gchar * theme_name, GList * them
 
 static gboolean parserc(const gchar * filename, gboolean *set_layout, gboolean *set_align, gboolean *set_font)
 {
-    gchar buf[512];
+    gchar buf[80];
     gchar *lvalue, *rvalue;
     FILE *fp;
 
diff --git a/src/parserc.c b/src/parserc.c
index 337601593..e3ee48b80 100644
--- a/src/parserc.c
+++ b/src/parserc.c
@@ -37,7 +37,7 @@
 
 gboolean parseRc(const gchar * file, const gchar * dir, Settings rc[])
 {
-    gchar buf[512];
+    gchar buf[80];
     gchar *filename, *lvalue, *rvalue;
     FILE *fp;
 
-- 
GitLab