Browse Source

Avoid non-ASCII UTF-8 in message box text - SDL's X11 backend for message boxes doesn't properly support it yet (https://bugzilla.libsdl.org/show_bug.cgi?id=1658).

Alex Szpakowski 10 years ago
parent
commit
4a8e5bd4db
3 changed files with 3 additions and 4 deletions
  1. 1 1
      src/modules/sound/lullaby/CoreAudioDecoder.cpp
  2. 1 1
      src/scripts/boot.lua
  3. 1 2
      src/scripts/boot.lua.h

+ 1 - 1
src/modules/sound/lullaby/CoreAudioDecoder.cpp

@@ -241,7 +241,7 @@ bool CoreAudioDecoder::seek(float s)
 
 bool CoreAudioDecoder::rewind()
 {
-	OSStatus err =  ExtAudioFileSeek(extAudioFile, 0);
+	OSStatus err = ExtAudioFileSeek(extAudioFile, 0);
 	
 	if (err == noErr)
 	{

+ 1 - 1
src/scripts/boot.lua

@@ -428,7 +428,7 @@ function love.init()
 	if not love.isVersionCompatible(c.version) then
 		local major, minor, revision = c.version:match("^(%d+)%.(%d+)%.(%d+)$")
 		if (not major or not minor or not revision) or (major ~= love._version_major and minor ~= love._version_minor) then
-			local msg = "This game was made for a different version of LÖVE.\n"..
+			local msg = "This game was made for a different version of LOVE.\n"..
 			"It may not be not be compatible with the running version ("..love._version..")."
 
 			print(msg)

+ 1 - 2
src/scripts/boot.lua.h

@@ -784,8 +784,7 @@ const unsigned char boot_lua[] =
 	0x09, 0x09, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x20, 0x6d, 0x73, 0x67, 0x20, 0x3d, 0x20, 0x22, 0x54, 0x68, 
 	0x69, 0x73, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x20, 0x77, 0x61, 0x73, 0x20, 0x6d, 0x61, 0x64, 0x65, 0x20, 0x66, 
 	0x6f, 0x72, 0x20, 0x61, 0x20, 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x76, 0x65, 0x72, 
-	0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x4c, 0xc3, 0x96, 0x56, 0x45, 0x2e, 0x5c, 0x6e, 0x22, 0x2e, 
-	0x2e, 0x0a,
+	0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x4c, 0x4f, 0x56, 0x45, 0x2e, 0x5c, 0x6e, 0x22, 0x2e, 0x2e, 0x0a,
 	0x09, 0x09, 0x09, 0x22, 0x49, 0x74, 0x20, 0x6d, 0x61, 0x79, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x62, 0x65, 0x20, 
 	0x6e, 0x6f, 0x74, 0x20, 0x62, 0x65, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x20, 
 	0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x20, 0x76,