X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/efad9d6d0b164bd37c84a9581dbf6397c7ffb3fa..851812f3fc226d30b4dc26ba147977e9511a82ee:/src/sim/w_x.c?ds=inline diff --git a/src/sim/w_x.c b/src/sim/w_x.c index 513072e..4f4c10e 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -585,10 +585,8 @@ InitNewView(SimView *view, char *title, int class, int w, int h) view->type = X_Mem_View; } - if ((ImageByteOrder(view->x->dpy) == MSBFirst) == !(*(unsigned char*) (&test))) - view->x->needs_swap = 0; - else - view->x->needs_swap = 1; + /* XXX: Find cases where transaltion is needed */ + view->x->needs_swap = 0; GetPixmaps(view->x);