From cc98b261192c104555a70543adb7b73a4b926602 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 23 Nov 2010 16:45:42 +0100 Subject: [PATCH] Fix small error in old config handling --- src/conky.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index cf1e0830..057911d3 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -2658,8 +2658,8 @@ void load_config_file() catch(lua::syntax_error &e) { #define SYNTAX_ERR_READ_CONF "Syntax error (%s) while reading config file. " #ifdef BUILD_OLD_CONFIG - NORM_ERR(_(SYNTAX_ERR_READ_CONF)); - NORM_ERR(_("Assuming it's in old syntax and attempting conversion."), e.what()); + NORM_ERR(_(SYNTAX_ERR_READ_CONF), e.what()); + NORM_ERR(_("Assuming it's in old syntax and attempting conversion.")); // the strchr thingy skips the first line (#! /usr/bin/lua) l.loadstring(strchr(convertconf, '\n')); l.pushstring(current_config.c_str());