summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/chessbox/gnuchess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chessbox/gnuchess.c b/apps/plugins/chessbox/gnuchess.c
index 5c30c6a6df..aaa67a4cec 100644
--- a/apps/plugins/chessbox/gnuchess.c
+++ b/apps/plugins/chessbox/gnuchess.c
@@ -2145,7 +2145,7 @@ short j,j1,j2,piece,i,sq,*PL;
2145 while (!(m & 0x88)) 2145 while (!(m & 0x88))
2146 { 2146 {
2147 u = unmap[m]; 2147 u = unmap[m];
2148 a[u] = ++a[u] | c; 2148 a[u] = (a[u]+1) | c;
2149 if (color[u] == neutral) m += d; 2149 if (color[u] == neutral) m += d;
2150 else break; 2150 else break;
2151 } 2151 }
@@ -2155,7 +2155,7 @@ short j,j1,j2,piece,i,sq,*PL;
2155 if (!((m = m0+Dir[j]) & 0x88)) 2155 if (!((m = m0+Dir[j]) & 0x88))
2156 { 2156 {
2157 u = unmap[m]; 2157 u = unmap[m];
2158 a[u] = ++a[u] | c; 2158 a[u] = (a[u]+1) | c;
2159 } 2159 }
2160 } 2160 }
2161} 2161}