From 4a6031ba3893c94b7dac0f5e8c2c89f04164b5de Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 25 Jul 2019 22:00:37 -0400 Subject: [PATCH] How did this happen? --- indra/newview/ascentprefschat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/ascentprefschat.cpp b/indra/newview/ascentprefschat.cpp index ddea0444b..62d3ebd7e 100644 --- a/indra/newview/ascentprefschat.cpp +++ b/indra/newview/ascentprefschat.cpp @@ -116,7 +116,7 @@ void setTimeDateFormats(const S8& tempTimeFormat, const S8& tempDateFormat) { std::string short_date, long_date, short_time, long_time, timestamp; - if (tempDateFormat == -1) + if (tempDateFormat != -1) { if (tempDateFormat < 3) { @@ -134,7 +134,7 @@ void setTimeDateFormats(const S8& tempTimeFormat, const S8& tempDateFormat) } } - if (tempTimeFormat == -1) + if (tempTimeFormat != -1) { if (tempTimeFormat == 0) {