public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/openra/files: openra-20120630-sound.patch openra-20120504-makefile.patch
@ 2012-07-01  0:42 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2012-07-01  0:42 UTC (permalink / raw
  To: gentoo-commits

hasufell    12/07/01 00:42:57

  Added:                openra-20120630-sound.patch
  Removed:              openra-20120504-makefile.patch
  Log:
  version bump, remove old
  
  (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  games-strategy/openra/files/openra-20120630-sound.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20120630-sound.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20120630-sound.patch?rev=1.1&content-type=text/plain

Index: openra-20120630-sound.patch
===================================================================
Date: Sun Jul  1 00:34:03 UTC 2012
Subject: https://github.com/OpenRA/OpenRA/issues/2005

fixed in https://github.com/OpenRA/OpenRA/commit/c068be453a9bcb7bc1fdd5874dc1296b6f4810d0#diff-0

--- OpenRA.FileFormats/FieldLoader.cs
+++ OpenRA.FileFormats/FieldLoader.cs
@@ -325,6 +325,10 @@
 					((int)c.B).Clamp(0, 255));
 			}
 
+			// Don't save floats in settings.yaml using country-specific decimal separators which can be misunderstood as group seperators.
+			if (t == typeof(float))
+				return ((float)v).ToString(CultureInfo.InvariantCulture);
+
 			if (t == typeof(Rectangle))
 			{
 				var r = (Rectangle)v;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-01  0:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-01  0:42 [gentoo-commits] gentoo-x86 commit in games-strategy/openra/files: openra-20120630-sound.patch openra-20120504-makefile.patch Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox