utils: snip a superfluous check for NULL
Nano doesn't start doing anything with the edit window or the keyboard until all files have been read in or a blank buffer has been opened, so the case of openfile->current == NULL will never occur. Also correct the comment -- because with multibyte characters, it is very well possible that the screen column corresponding to current_x is smaller than current_x itself.
Showing
+4 -6
Please register or sign in to comment