From ca75cc4deabc81fd0e9dc436b61ec58939b1994b Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 11 Oct 2019 19:26:09 +0200 Subject: [PATCH] Fixed: Variable "fx" uninitialized if _Lines is empty --HG-- branch : develop --- code/nel/src/gui/view_text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp index 8458def52..e773a6cb1 100644 --- a/code/nel/src/gui/view_text.cpp +++ b/code/nel/src/gui/view_text.cpp @@ -2405,6 +2405,7 @@ namespace NLGUI if (_Lines.empty()) { x = 0; + fx = 0; } else {