Soft'N'Design Software
/
projects
/
scrabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27f711
)
fix color init
author
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Fri, 24 May 2024 08:26:31 +0000
(10:26 +0200)
committer
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Fri, 24 May 2024 08:26:31 +0000
(10:26 +0200)
board.c
patch
|
blob
|
blame
|
history
diff --git
a/board.c
b/board.c
index b58c0c4f686553ae49fd11c403b7a6aed9a73afa..7db5f0045371e6de902370934d88e3effa586613 100644
(file)
--- a/
board.c
+++ b/
board.c
@@
-58,7
+58,7
@@
typedef enum {
void set_color (color_t color)
{
- int init = 1;
+
static
int init = 1;
if (init) {
init_pair (white, COLOR_WHITE, COLOR_BLACK);