From 5e9f2ce0a85ad922c6e3e06619b60676682ca232 Mon Sep 17 00:00:00 2001 From: dborth Date: Sat, 17 Apr 2010 20:15:33 +0000 Subject: [PATCH] fix scrolling bug --- source/gui/gui_text.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/gui/gui_text.cpp b/source/gui/gui_text.cpp index 08d9348..c96afbf 100644 --- a/source/gui/gui_text.cpp +++ b/source/gui/gui_text.cpp @@ -367,7 +367,6 @@ void GuiText::Draw() } wcsncpy(textDyn[0], &text[textScrollPos], maxChar-1); - textDyn[maxChar-1] = 0; u32 dynlen = wcslen(textDyn[0]);