Merging r37732 through r37862 from trunk into soc-2011-tomato
[blender.git] / source / blender / makesrna / intern / rna_space.c
index ea5b433677634f1998c4d8e33a027f4d7692f638..139d2ec3168a008904caca455edbead0d4132b11 100644 (file)
@@ -704,7 +704,7 @@ static void rna_ConsoleLine_cursor_index_range(PointerRNA *ptr, int *min, int *m
        ConsoleLine *ci= (ConsoleLine*)ptr->data;
 
        *min= 0;
-       *max= ci->len;
+       *max= ci->len; /* intentionally _not_ -1 */
 }
 
 /* Space Dopesheet */