https://issues.dlang.org/show_bug.cgi?id=16408
--- Comment #4 from Lodovico Giaretta <[email protected]> --- (In reply to Matt Jones from comment #2) > Interesting. Changing from std.conv.to!string to std.string.fromStringz > returns "DDDD" for both debug and release mode. ag0aep6g's comment (https://issues.dlang.org/show_bug.cgi?id=16408#c3) is correct. The fact that SDL_GetKeyName always returns the same buffer explains why fromStringz gives the wrong answer in both debug and release. So I agree that this is a wrong-code bug. --
