From 5be88b92021565f46e1a252b1414bca254230453 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 16 Aug 2009 00:56:49 +0000 Subject: [PATCH] fix a bug from last commit, thanks lpfaint :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3995 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/DSPSpy/ConsoleHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DSPSpy/ConsoleHelper.h b/Source/DSPSpy/ConsoleHelper.h index b46f42d85d..d3a0ee1ed7 100644 --- a/Source/DSPSpy/ConsoleHelper.h +++ b/Source/DSPSpy/ConsoleHelper.h @@ -77,7 +77,7 @@ inline void CON_BlankRow(const int y) CON_GetMetrics(&columns, &rows); char* blank = new char[columns]; std::fill(blank, blank + columns, ' '); - blank[columns] = '\0'; + blank[columns-1] = '\0'; CON_Printf(0, y, "%s", blank); delete blank; }