1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

Add original four-char code as comment next to hex literal in AppConfig.h

This commit is contained in:
hogliux 2016-06-17 10:44:00 +01:00
parent adfc6e9e80
commit 70ed6eb69c

View file

@ -63,7 +63,9 @@ namespace
hexRepresentation = (hexRepresentation << 8U)
| (static_cast<unsigned int> (fourCharCode[i]) & 0xffU);
return String ("0x") + String::toHexString (static_cast<int> (hexRepresentation));
return String ("0x") + String::toHexString (static_cast<int> (hexRepresentation))
+ String (" // ")
+ CppTokeniserFunctions::addEscapeChars (fourCharCode).quoted ('\'');
}
}