diff options
Diffstat (limited to 'src')
-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 46884444986..29a699fa571 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)) { |