diff options
Diffstat (limited to 'src/glut/glx')
-rw-r--r-- | src/glut/glx/glut_dstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_dstr.c b/src/glut/glx/glut_dstr.c index 4688444498..29a699fa57 100644 --- a/src/glut/glx/glut_dstr.c +++ b/src/glut/glx/glut_dstr.c @@ -1548,7 +1548,7 @@ main(int argc, char **argv) while (!feof(stdin)) { if (tty) printf("dstr> "); - str = gets(buffer); + str = fgets(buffer, 1023, stdin); if (str) { printf("\n"); if (!strcmp("v", str)) { |