From d806d8528f29225ff3c54542185ed4e01dd0da2c Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 6 Feb 2007 19:35:31 +0000 Subject: [PATCH] Fix pseudographical chars selection --- golded3/gemlst.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/golded3/gemlst.cpp b/golded3/gemlst.cpp index 484496e..5f7f6c8 100644 --- a/golded3/gemlst.cpp +++ b/golded3/gemlst.cpp @@ -811,7 +811,7 @@ void GThreadlist::GenTree(int idx) static char graph[4]=""; // Pseudographic chars KOI8-R #else static char graph_ibmpc[4]=""; // Pseudographic chars CP437, CP850, CP866 - static char graph[4]="+*|"; // Default: plain ASCII7 chars + static char graph[4]=""; if(graph[0] == NUL) { @@ -819,6 +819,8 @@ void GThreadlist::GenTree(int idx) int level = LoadCharset(get_dos_charset(CFG->xlatlocalset), CFG->xlatlocalset); if(level) XlatStr(graph, graph_ibmpc, level, CharTable); + else + graph="+*|"; // Default: plain ASCII7 chars if(table == -1) LoadCharset(CFG->xlatimport, CFG->xlatlocalset); else