From 98e7390ba006cb902157b2ab26cb1debdae6cac9 Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Thu, 3 Feb 2011 09:32:55 +0000 Subject: [PATCH] Fix for issue 155 --- .../Bin/Recast.app/Contents/MacOS/Recast | Bin 1141336 -> 1141336 bytes RecastDemo/Source/imgui.cpp | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RecastDemo/Bin/Recast.app/Contents/MacOS/Recast b/RecastDemo/Bin/Recast.app/Contents/MacOS/Recast index fdbfceed5ca0b9ee3f1be3c0e3e669d8c5e006f1..c3d63bd20ddfffb55f9209f14bcdc29c57af3e14 100755 GIT binary patch delta 138 zcmca{#r4J&*9|g~0%E#r-?eKTTg75j{4l?6*NSEx$#xw{Mj&PaVrC#_0b-vjH*t_QTQ~3+D)MtTp0W9lGrI^_D=xeVL3l?Ik-nfS41Axqz4(hQ~P0QHXvr-eps4g;T(Z4doqqZSTRNH;O|eReS)im+DmqD05K;Ja{)0o5c2>r c@Ai@%d~4O2o#qO)t32QXV*c$a4+KoQ0K8i@1^@s6 diff --git a/RecastDemo/Source/imgui.cpp b/RecastDemo/Source/imgui.cpp index 36bbffa..7db9a11 100644 --- a/RecastDemo/Source/imgui.cpp +++ b/RecastDemo/Source/imgui.cpp @@ -308,7 +308,7 @@ static const int CHECK_SIZE = 8; static const int DEFAULT_SPACING = 4; static const int TEXT_HEIGHT = 8; static const int SCROLL_AREA_PADDING = 6; -static const int INTEND_SIZE = 16; +static const int INDENT_SIZE = 16; static const int AREA_HEADER = 28; static int g_scrollTop = 0; @@ -628,14 +628,14 @@ bool imguiSlider(const char* text, float* val, float vmin, float vmax, float vin void imguiIndent() { - g_state.widgetX += INTEND_SIZE; - g_state.widgetW -= INTEND_SIZE; + g_state.widgetX += INDENT_SIZE; + g_state.widgetW -= INDENT_SIZE; } void imguiUnindent() { - g_state.widgetX -= INTEND_SIZE; - g_state.widgetW += INTEND_SIZE; + g_state.widgetX -= INDENT_SIZE; + g_state.widgetW += INDENT_SIZE; } void imguiSeparator()