error android compilation for the reintrepreted cast

This commit is contained in:
Edouard Dupin 2012-02-19 18:52:17 +01:00
parent a4d314723d
commit fced6df123
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,8 @@ LOCAL_CFLAGS := -D__PLATFORM__Android \
-DEWOL_USE_FREE_TYPE \
-DETK_DEBUG_LEVEL=3 \
-DEDN_DEBUG_LEVEL=3 \
-DDATA_IN_APK
-DDATA_IN_APK \
-frtti
include $(BUILD_SHARED_LIBRARY)

View File

@ -272,11 +272,11 @@ void BufferText::CursorDisplay(ewol::OObject2DColored* OOColored, int32_t x, int
OOColored->Rectangle( x, y, letterWidth, letterHeight, clip);
} else {
// TODO : Clipping
if (x >= clip.x) {
//if (x >= clip.x) {
OOColored->Line( (int32_t)(x-CURSOR_WIDTH), (int32_t)(y) , (int32_t)(x+CURSOR_WIDTH), (int32_t)(y) , CURSOR_THICKNESS);
OOColored->Line( (int32_t)(x-CURSOR_WIDTH), (int32_t)(y+letterHeight-CURSOR_THICKNESS), (int32_t)(x+CURSOR_WIDTH), (int32_t)(y+letterHeight-CURSOR_THICKNESS), CURSOR_THICKNESS);
OOColored->Line( (int32_t)(x) , (int32_t)(y) , (int32_t)(x) , (int32_t)(y+letterHeight-CURSOR_THICKNESS), CURSOR_THICKNESS);
}
//}
}
}