File cygne-rpmlint.patch of Package cygne

--- src/gfx.cpp
+++ src/gfx.cpp
@@ -233,7 +233,7 @@
 					mPUTPIXEL_mono_t(7);
 				}
 			}
-			startindex=(++startindex)&31;
+			startindex=(startindex + 1)&31;
 		}
 	
 	if(wsIO[0]&2)/*FG layer*/
@@ -321,7 +321,7 @@
 						mPUTPIXEL_mono_t_2(7);
 					}
 				}
-				startindex=(++startindex)&31;
+				startindex=(startindex + 1)&31;
 			}
 		}
 		else
@@ -383,7 +383,7 @@
 						mPUTPIXEL_mono_t_m_2(7,128);
 					}
 				}
-				startindex=(++startindex)&31;//%32;//=(startindex+1)%256;
+				startindex=(startindex + 1)&31;//%32;//=(startindex+1)%256;
 			}
 		}
 	}
--- src/sdl/filessdl.cpp
+++ src/sdl/filessdl.cpp
@@ -284,7 +284,7 @@
 		fread(&wsSRAM[0],1,65536,file);
 		fread(&wsIO[0],1,256,file);
 		fread(&wsColors[0],4,8,file);
-		fread(&wsMonoPal[0],4,64*4,file);
+		fread(&wsMonoPal[0],4,16*4,file);
 		fread(&wsCols[0][0],1,16*16*4,file);
 		fread(&rom_size,1,4,file);
 		fread(&wsLine,1,1,file);
@@ -337,7 +337,7 @@
 		fwrite(&wsSRAM[0],1,65536,fState);
 		fwrite(&wsIO[0],1,256,fState);
 		fwrite(&wsColors[0],4,8,fState);
-		fwrite(&wsMonoPal[0],4,64*4,fState);
+		fwrite(&wsMonoPal[0],4,16*4,fState);
 		fwrite(&wsCols[0][0],1,16*16*4,fState);
 		fwrite(&rom_size,1,4,fState);
 		fwrite(&wsLine,1,1,fState);
openSUSE Build Service is sponsored by