]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 9 Nov 2005 03:44:23 +0000 (03:44 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 9 Nov 2005 03:44:23 +0000 (03:44 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3122 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index 4d6d855bee9a05e1157ec68f16911a4dd8f75e36..747752869d297c58c517d7301995f70cdf6202e0 100644 (file)
@@ -1248,7 +1248,7 @@ void do_justify(bool full_justify)
                indent_len);
 
            /* Don't destroy edittop! */
-           if (openfile->edittop == next_line)
+           if (next_line == openfile->edittop)
                openfile->edittop = openfile->current;
 
 #ifndef NANO_SMALL