aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 15:04:53 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 15:04:53 +0000
commit07a95117601badd3747f812ca3952a391ff5c0b0 (patch)
tree7673ecbd8cf57fc83612d7cdce3ac1dc30102d76
parent54d99d9a8a00deef299dbc9fb34a06e4ca6bfe42 (diff)
downloadusdx-07a95117601badd3747f812ca3952a391ff5c0b0.tar.gz
usdx-07a95117601badd3747f812ca3952a391ff5c0b0.tar.xz
usdx-07a95117601badd3747f812ca3952a391ff5c0b0.zip
DEFAULT_ENCODING is now fixed (to CP1252) in USong.pas and cannot be set in the usdx config-file anymore (feature would just cause confusion and non-portable song-files)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1863 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--unicode/src/base/UIni.pas10
1 files changed, 0 insertions, 10 deletions
diff --git a/unicode/src/base/UIni.pas b/unicode/src/base/UIni.pas
index 9a09ca91..03654db7 100644
--- a/unicode/src/base/UIni.pas
+++ b/unicode/src/base/UIni.pas
@@ -157,9 +157,6 @@ type
Joypad: integer;
Mouse: integer;
- // default encoding for texts (lyrics, song-name, ...)
- EncodingDefault: TEncoding;
-
procedure Load();
procedure Save();
procedure SaveNames;
@@ -731,10 +728,6 @@ begin
// NoteLines
NoteLines := GetArrayIndex(INoteLines, IniFile.ReadString('Lyrics', 'NoteLines', INoteLines[1]));
- //Encoding default
- // CP1252 is the USDX <1.1 default encoding
- EncodingDefault := ParseEncoding(IniFile.ReadString('Lyrics', 'Encoding', ''), encCP1252);
-
LoadThemes(IniFile);
// Color
@@ -886,9 +879,6 @@ begin
// NoteLines
IniFile.WriteString('Lyrics', 'NoteLines', INoteLines[NoteLines]);
- //Encoding default
- IniFile.WriteString('Lyrics', 'Encoding', EncodingNames[EncodingDefault]);
-
// Theme
IniFile.WriteString('Themes', 'Theme', ITheme[Theme]);