From 9dc445f949ea11de69bc9af17ff31b465073c74b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 11 Feb 2019 21:30:30 +0100 Subject: [PATCH] Update xdsp_01_lcd.ino --- sonoff/xdsp_01_lcd.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xdsp_01_lcd.ino b/sonoff/xdsp_01_lcd.ino index e0b72618f..8a37342a3 100644 --- a/sonoff/xdsp_01_lcd.ino +++ b/sonoff/xdsp_01_lcd.ino @@ -104,7 +104,7 @@ void LcdCenter(uint8_t row, char* txt) int len = strlen(txt); int offset = 0; if (len >= Settings.display_cols[0]) { - len = Settings.display_cols[0] + len = Settings.display_cols[0]; } else { offset = (Settings.display_cols[0] - len) / 2; }