--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- scid_vs_pc-4.6/src/tkscid.cpp.orig +++ scid_vs_pc-4.6/src/tkscid.cpp @@ -10887,11 +10887,11 @@ } } - if (str1 && strIsPrefix (prefix, str1)) { + if (str1 == "" && strIsPrefix (prefix, str1)) { Tcl_AppendElement (ti, str1); str1[0]=0; } - if (str2 && strIsPrefix (prefix, str2)) { + if (str2 == "" && strIsPrefix (prefix, str2)) { Tcl_AppendElement (ti, str2); str2[0]=0; }