diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-05 15:04:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-05 15:04:28 +0400 |
commit | 33accdb725bb7e5bb133b17faa2cc6191eca73ef (patch) | |
tree | d7691f0ba464750a641ec2f3a8d5875a00f95151 /source/blender/blenkernel/BKE_text.h | |
parent | 45b8a61bf39dade4efcad16c26324d1cb2e95d48 (diff) |
use (const char*) rather than (char*) where possible.
also removed some unused function definitons.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index 2a613522686..a951347d946 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -56,7 +56,7 @@ void write_text(struct Text *text, const char *str); char* txt_to_buf (struct Text *text); void txt_clean_text (struct Text *text); void txt_order_cursors (struct Text *text); -int txt_find_string (struct Text *text, char *findstr, int wrap, int match_case); +int txt_find_string (struct Text *text, const char *findstr, int wrap, int match_case); int txt_has_sel (struct Text *text); int txt_get_span (struct TextLine *from, struct TextLine *to); void txt_move_up (struct Text *text, short sel); |