Bugzillia bug report on xwview14.c *.bmp picture viewer program in c
for
Linux XWindows.
..
xwview14.c was designed back when monitors were limited to
800*600 so its hidden flaw of crashing when enlarging the screen
was not discovered until a long time later.
[link to xwview14.c]
http://groups.google.com/group/alt.tv/msg/45063d8f167cbf16?dmode=source A hidden mistake was discovered in xwview14.c in which more bytes
were
initialized than the arrays sizes whenever the window was enlarged
bigger than 800*600 so xwview14.c CRASHES whenever the window is
enlarged
greater then 800*600
------------------------------------------------
xwview15.c adds an if statement to limit initialization of the
colored
arrays to their array size so xwview15.c should display large pictures
in monochrome 1 bit per pixel instead of crashing if their are no
other
mistakes.
[link to xwview15.c]
http://groups.google.com/group/alt.tv/msg/60934b3d2ed5536c?dmode=sourcexwview15.c displays 24-bit color up to almost 800*600
and at 800*600 it barely changes to monochome 1-bit per pixel.
If your monitor is limited to 800*600 xwview15.c is the best choice.
---------------------------------------------------------------------
xwview16.c still can display up to 24-bit color at exactly 800*600
pixels
and switches to monochrome 1-bit per pixel slightly smaller than
1024*768
but requires more RAM than xwview15.c becuse of larger array sizes
so only use it with a newer monitor of at least 1024*768
[link to xwview16.c *.bmp viewer program for newer monitors]
http://groups.google.com/group/alt.tv/msg/39e8d20c7d79a1ab?dmode=source..
.
[link to previous episode of Everybody hates Chris]
http://groups.google.com/group/alt.tv/msg/7c5f69aa4ef06c5a