diff Debug/cli/cli.h @ 321:18c3c4924f20

Code cleanup from cli changes.
author Jacob Alexander <haata@kiibohd.com>
date Tue, 07 Apr 2015 22:11:04 -0700
parents 3994a5a68793
children f4d4cad283c6
line wrap: on
line diff
--- a/Debug/cli/cli.h	Thu Apr 02 23:55:51 2015 -0700
+++ b/Debug/cli/cli.h	Tue Apr 07 22:11:04 2015 -0700
@@ -67,8 +67,8 @@
 	const char name##CLIDict_DescEntry[] = description;
 #endif
 
-#define RING_PREV(i) wrap(i-1,0,CLIMaxHistorySize-1)
-#define RING_NEXT(i) wrap(i+1,0,CLIMaxHistorySize-1)
+#define RING_PREV(i) CLI_wrap(i - 1, 0, CLIMaxHistorySize - 1)
+#define RING_NEXT(i) CLI_wrap(i + 1, 0, CLIMaxHistorySize - 1)
 
 
 // ----- Structs -----