From d263025f39e71698f072d2a9a101a0991949d95d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2016 18:16:55 +0300 Subject: If build bot enabled, show error message in ShowConfigWarning. --- src/common/showmsg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 8ed8efc1d..d8864684d 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -804,7 +804,11 @@ void showmsg_showConfigWarning(struct config_setting_t *config, const char *stri StrBuf->AppendStr(&buf, string); StrBuf->Printf(&buf, " (%s:%u)\n", config_setting_source_file(config), config_setting_source_line(config)); va_start(ap, string); +#ifdef BUILDBOT + vShowMessage_(MSG_ERROR, StrBuf->Value(&buf), ap); +#else // BUILDBOT vShowMessage_(MSG_WARNING, StrBuf->Value(&buf), ap); +#endif // BUILDBOT va_end(ap); StrBuf->Destroy(&buf); } -- cgit v1.2.3-60-g2f50