Skip to content

Commit

Permalink
add a comment about edit hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudoko committed Mar 6, 2015
1 parent de12b2c commit 955abd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void edit_draw(EDIT *edit, int x, int y, int width, int height)
yy -= scroll_gety(scroll, height);
}

// TODO: what is this for?
// display an edit hint if there's no text in the field
if(!edit->length && maybe_i18nal_string_is_valid(&edit->empty_str)) {
STRING* empty_str_text = maybe_i18nal_string_get(&edit->empty_str);
setcolor(COLOR_MAIN_HINTTEXT);
Expand Down

0 comments on commit 955abd6

Please sign in to comment.