client: display XML in app_config notices correctly

This commit is contained in:
David Anderson 2014-08-31 19:19:07 -07:00
parent bfa0a81a7b
commit 1c9233a46f
1 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ int APP_CONFIG::parse(XML_PARSER& xp, PROJECT* p) {
}
xp.skip_unexpected(log_flags.unparsed_xml, "APP_CONFIG::parse");
}
msg_printf(p, MSG_USER_ALERT,
msg_printf_notice(p, false, NULL,
"missing </app> in app_config.xml"
);
return ERR_XML_PARSE;
@ -106,7 +106,7 @@ int APP_VERSION_CONFIG::parse(XML_PARSER& xp, PROJECT* p) {
}
xp.skip_unexpected(log_flags.unparsed_xml, "APP_VERSION_CONFIG::parse");
}
msg_printf(p, MSG_USER_ALERT,
msg_printf_notice(p, false, NULL,
"missing </app_version> in app_config.xml"
);
return ERR_XML_PARSE;
@ -147,7 +147,7 @@ int APP_CONFIGS::parse(XML_PARSER& xp, PROJECT* p) {
}
xp.skip_unexpected(log_flags.unparsed_xml, "APP_CONFIGS::parse");
}
msg_printf(p, MSG_USER_ALERT,
msg_printf_notice(p, false, NULL,
"missing </app_config> in app_config.xml"
);
return ERR_XML_PARSE;