From 097a3756c009f5cd9764c5ac1af14d80c2ebbfac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 31 Mar 2014 23:39:08 +1100 Subject: Code cleanup: use bool --- source/blender/blenlib/BLI_string_cursor_utf8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/BLI_string_cursor_utf8.h') diff --git a/source/blender/blenlib/BLI_string_cursor_utf8.h b/source/blender/blenlib/BLI_string_cursor_utf8.h index 45910666a1e..b4d354b7e37 100644 --- a/source/blender/blenlib/BLI_string_cursor_utf8.h +++ b/source/blender/blenlib/BLI_string_cursor_utf8.h @@ -41,8 +41,8 @@ typedef enum strCursorJumpDirection { STRCUR_DIR_NEXT } strCursorJumpDirection; -int BLI_str_cursor_step_next_utf8(const char *str, size_t maxlen, int *pos); -int BLI_str_cursor_step_prev_utf8(const char *str, size_t maxlen, int *pos); +bool BLI_str_cursor_step_next_utf8(const char *str, size_t maxlen, int *pos); +bool BLI_str_cursor_step_prev_utf8(const char *str, size_t maxlen, int *pos); void BLI_str_cursor_step_utf8(const char *str, size_t maxlen, int *pos, strCursorJumpDirection direction, -- cgit v1.2.3