diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-02-19 18:21:02 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-02-19 18:21:02 +0100 |
commit | acd3c7852700b349f74b83c683256c00c02181b2 (patch) | |
tree | 0a81fe17bf9c4494fd81527a4eef0cfc11ccc826 | |
parent | e379bf37ac56ecb5eec64537462c5004da6ece10 (diff) |
don't limit view window size
-rw-r--r-- | src/gipfel.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx index b8b1462..4a284aa 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -374,10 +374,9 @@ int main(int argc, char** argv) { if (img_file) { gipf->load_image(img_file); } - if (gipf->w() < 1024 && gipf->h() < 768) { - view_win->size(gipf->w(), gipf->h()); - scroll->size(gipf->w(), gipf->h()); - } + + view_win->size(gipf->w(), gipf->h()); + scroll->size(gipf->w(), gipf->h()); gipf->load_data(data_file); scroll->end(); |