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:
parent
adfc6e9e80
commit
70ed6eb69c
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ('\'');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue