File: 04_fix-segfault

package info (click to toggle)
tetradraw 2.0.3-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,072 kB
  • sloc: sh: 7,102; ansic: 6,509; makefile: 28
file content (13 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>, Rhonda D'Vine <rhonda@debian.org>	vim:ft=diff:
Description: fix segfault on truecolor terminals

--- a/src/colours.h
+++ b/src/colours.h
@@ -10,6 +10,6 @@
 #define COLOUR_CYAN COLOR_CYAN  
 #define COLOUR_WHITE COLOR_WHITE 
 
-#define COLOURS 8
+#define COLOURS 256
 
 #endif