X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsettings.c;h=4d0ef3eb03ddbaad947c38255aa68c393c6280bf;hb=2c7d1b0285e21571b1e50def87e33095f095ce4e;hp=095a93185408174fb211a1a713182c27c871bc10;hpb=70c7494a0b0a9e6ce90c271f65095bc474b775ee;p=pspp diff --git a/src/data/settings.c b/src/data/settings.c index 095a931854..4d0ef3eb03 100644 --- a/src/data/settings.c +++ b/src/data/settings.c @@ -31,7 +31,6 @@ static int *viewlength = NULL; static int *viewwidth = NULL; -static bool long_view = false; static bool safer_mode = false; @@ -103,21 +102,10 @@ set_viewlength (int viewlength_) *viewlength = viewlength_; } -/* Set view width to a very long value, and prevent it from ever - changing. */ -void -force_long_view (void) -{ - long_view = true; -} - /* Screen width. */ int get_viewwidth(void) { - if (long_view) - return 9999; - return *viewwidth; } @@ -133,10 +121,6 @@ init_viewport (int *width, int *length) { viewwidth = width; viewlength = length; - - if (long_view) - return; - } /* Whether PSPP can erase and overwrite files. */