Renamed g_pageSize

Mon, 11 Jan 2016 16:44:26 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 11 Jan 2016 16:44:26 +0200
changeset 128
e5d185b62b7f
parent 127
6610b8b29848
child 129
a556ce001e26

Renamed g_pageSize

sources/interface.cpp file | annotate | diff | comparison | revisions
--- a/sources/interface.cpp	Mon Jan 11 16:43:00 2016 +0200
+++ b/sources/interface.cpp	Mon Jan 11 16:44:26 2016 +0200
@@ -37,7 +37,7 @@
 #include "coloredline.h"
 BEGIN_ZFC_NAMESPACE
 
-static const int g_pageSize = 10;
+static const int PAGE_SIZE = 10;
 
 // -------------------------------------------------------------------------------------------------
 //
@@ -744,12 +744,12 @@
 		break;
 
 	case KEY_PPAGE:
-		m_outputScroll += min (g_pageSize, LINES / 2);
+		m_outputScroll += min (PAGE_SIZE, LINES / 2);
 		m_needOutputRender = true;
 		break;
 
 	case KEY_NPAGE:
-		m_outputScroll -= min (g_pageSize, LINES / 2);
+		m_outputScroll -= min (PAGE_SIZE, LINES / 2);
 		m_needOutputRender = true;
 		break;
 

mercurial