diff --git a/src/fbprimitive.c b/src/fbprimitive.c index fad520f..c081910 100644 --- a/src/fbprimitive.c +++ b/src/fbprimitive.c @@ -1,12 +1,12 @@ /* * UPIWIN - Micro Pi Windowing Framework Kernel * Copyright (C) 2019 Amy Bowersox/Erbosoft Metaverse Design Solutions - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -129,9 +129,9 @@ void Fb_filled_rectangle(INT32 x1, INT32 y1, INT32 x2, INT32 y2, UINT16 color, B for (tmp = x1; tmp <= x2; tmp++) { if (xor) - *p++ ^= color; + *p++ ^= color; else - *p++ = color; + *p++ = color; } ps += Fb_Info->width; }