diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-05 10:05:25 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-05 10:05:25 +0400 |
commit | 18fe6c27ff2b4a76ec5c646a3dda0a7bd64d94b4 (patch) | |
tree | 4d274bf759cb3f65bff2e1e5906784667f228e21 /source/blender/blenkernel/intern/suggestions.c | |
parent | 18b5b4ff0c270c328f0fe30e0af9a7ff178247eb (diff) |
Compiling/Warning Fixes (for scons/mingw + "split sources hack") Part 1:
* Removed compiler warnings from texteditor work
* Added round brackets around the new defines for IPO channels for extra texture layers
* Tweaked priorities so that BLI_heap_* functions in blenlib can be found by linker (split-sources specific)
TODO:
* "monkey*" vars cannot be found still
Diffstat (limited to 'source/blender/blenkernel/intern/suggestions.c')
-rw-r--r-- | source/blender/blenkernel/intern/suggestions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/suggestions.c b/source/blender/blenkernel/intern/suggestions.c index 54ce425a04a..6530909336c 100644 --- a/source/blender/blenkernel/intern/suggestions.c +++ b/source/blender/blenkernel/intern/suggestions.c @@ -44,12 +44,12 @@ static Text *activeToolText = NULL; static SuggList suggestions = {NULL, NULL, NULL, NULL, NULL}; static char *documentation = NULL; -static int doc_lines = 0; +//static int doc_lines = 0; static int txttl_cmp(const char *first, const char *second, int len) { int cmp, i; for (cmp=0, i=0; i<len; i++) { - if (cmp= toupper(first[i])-toupper(second[i])) { + if ( (cmp= toupper(first[i])-toupper(second[i])) ) { break; } } |