Jan Klemkow пре 6 година
родитељ
комит
51365d26c1
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      scroll.c

+ 1 - 2
scroll.c

@@ -159,8 +159,7 @@ main(int argc, char *argv[])
 	if (fcntl(mfd, F_SETFL, f /*| O_NONBLOCK*/) == -1)
 		die("fcntl:");
 
-	struct termios new;
-	new = dfl;
+	struct termios new = dfl;
 	cfmakeraw(&new);
 	new.c_cc[VMIN ] = 1;
 	new.c_cc[VTIME] = 0;