• Benno Schulenberg's avatar
    utils: snip a superfluous check for NULL · dbe39901
    Benno Schulenberg authored
    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.
    dbe39901
utils.c 18.6 KB