summaryrefslogtreecommitdiff
path: root/progs/trivial/line-userclip-nop.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-19 13:03:12 -0800
committerVinson Lee <vlee@vmware.com>2009-11-19 13:03:12 -0800
commit3790c6a13b86dfe0afd4bb0bf9a4d9f4b429cfd8 (patch)
tree1af77e61e15b317589d7bc857627f22052cdd4b8 /progs/trivial/line-userclip-nop.c
parent367cfca808e74101689dd0acb247f3ec38fc4c7f (diff)
progs/trivial: Redraw upon keypress.
Diffstat (limited to 'progs/trivial/line-userclip-nop.c')
-rw-r--r--progs/trivial/line-userclip-nop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/trivial/line-userclip-nop.c b/progs/trivial/line-userclip-nop.c
index e59fd133a5..6c863a3c82 100644
--- a/progs/trivial/line-userclip-nop.c
+++ b/progs/trivial/line-userclip-nop.c
@@ -66,7 +66,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
- return;
+ break;
}
glutPostRedisplay();