aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_parser.l
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
committerBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
commitfe5c2d98205e726a049ae1c5f2ac5013c6bda60b (patch)
tree2c5118a7646e1fa773f2a668ffa4cae5cedb3c5d /plugins/mate/mate_parser.l
parent319f71c537bf55a7cdfe0ea51d1909ad24c6491b (diff)
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
Diffstat (limited to 'plugins/mate/mate_parser.l')
-rw-r--r--plugins/mate/mate_parser.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l
index 31d2fa4b88..0a284a4a45 100644
--- a/plugins/mate/mate_parser.l
+++ b/plugins/mate/mate_parser.l
@@ -182,7 +182,7 @@ blk_cmnt_stop "*/"
yy_switch_to_buffer(include_stack[--include_stack_ptr] );
if (errno)
- g_string_sprintfa(mc->config_error, "Mate parser: Could not open file: '%s': %s", yytext, strerror(errno) );
+ g_string_append_printf(mc->config_error, "Mate parser: Could not open file: '%s': %s", yytext, strerror(errno) );
} else {
@@ -292,7 +292,7 @@ extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) {
yyin = eth_fopen(filename,"r");
if (!yyin) {
- g_string_sprintfa(mc->config_error,"Mate parser: Could not open file: '%s', error: %s", filename, strerror(errno) );
+ g_string_append_printf(mc->config_error,"Mate parser: Could not open file: '%s', error: %s", filename, strerror(errno) );
return FALSE;
}
@@ -327,7 +327,7 @@ extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) {
state = FALSE;
} CATCH_ALL {
state = FALSE;
- g_string_sprintfa(mc->config_error,"An unexpected error occurred");
+ g_string_append_printf(mc->config_error,"An unexpected error occurred");
}
ENDTRY;