http://bugs.winehq.org/show_bug.cgi?id=11122
--- Comment #31 from Tobias Jakobi liquid.acid@gmx.net 2008-10-10 03:43:28 --- Yeah, that's what I implemented first. That was part of the code I mentioned in comment #23, the one that didn't really work for me. That was also before taking a deeper look at the detection code and how it actually works. If I understand the code correctly NULL-symbols are just skipped.
if ((*lkey)[key][i] && ((*lkey)[key][i] == ckey[keyc][i])) ok++; if ((*lkey)[key][i] && ((*lkey)[key][i] != ckey[keyc][i])) ok = -1;
That's a noop for NULL-symbols. Of course when putting a "" entry in the table that results in four NULL-symbols which are all skipped. But that's not what I want here, since I only want to remove the symbol that is "faulty".