diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-16 23:04:33 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-16 23:04:33 +0100 |
| commit | ab2f4dbc8daa65f95dbb2c75ad11f20435f8c140 (patch) | |
| tree | 5775e86cf6663d4978f05fc1339809e9fda850ec /UCoreUtils.pas | |
| parent | f1521a509a4ecec67480ac04c7732300a6baab13 (diff) | |
| download | tuxcmd-ab2f4dbc8daa65f95dbb2c75ad11f20435f8c140.tar.xz | |
Avoid double-formatting strings containing percent sign
Diffstat (limited to 'UCoreUtils.pas')
| -rw-r--r-- | UCoreUtils.pas | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/UCoreUtils.pas b/UCoreUtils.pas index 299773a..b18c2f2 100644 --- a/UCoreUtils.pas +++ b/UCoreUtils.pas @@ -113,7 +113,6 @@ function StrToUTF8(s: string): string; overload; function UTF8ToStr(s: string): string; overload; function StrToUTF8(s: PChar): PChar; overload; function UTF8ToStr(s: PChar): PChar; overload; -// function EnsureUTF8String(s: string): string; overload; function EnsureUTF8String(s: PChar): PChar; overload; @@ -1644,14 +1643,6 @@ begin end; end; -{ -function EnsureUTF8String(s: string): string; -begin - Result := s; - if @g_filename_display_name <> nil then Result := g_filename_display_name(PChar(s)); -end; -} - function EnsureUTF8String(s: PChar): PChar; begin Result := s; |
