mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
A bit of refactoring to be able to find some issue...
This commit is contained in:
parent
bef29df3db
commit
42cd533862
308 changed files with 2705 additions and 2454 deletions
|
@ -217,7 +217,7 @@ namespace GreenshotPlugin.Core {
|
|||
if (remainingLength >= 4) {
|
||||
// parse the 32 bit hex into an integer codepoint
|
||||
if (!(success = uint.TryParse(new string(json, index, 4), NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var codePoint))) {
|
||||
return "";
|
||||
return string.Empty;
|
||||
}
|
||||
// convert the integer codepoint to a unicode char and add to string
|
||||
s.Append(char.ConvertFromUtf32((int)codePoint));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue