[prev in list] [next in list] [prev in thread] [next in thread]
List: osflash-sandy
Subject: [Sandy] [sandy commit] r1069 - Minor bug fixes
From: codesite-noreply () google ! com
Date: 2009-04-30 6:33:54
Message-ID: 001485f547344d1d640468bfe12a () google ! com
[Download RAW message or body]
Author: damonsbane
Date: Wed Apr 29 23:32:09 2009
New Revision: 1069
Modified:
trunk/sandy/haxe/trunk/src/sandy/util/RotationUtil.hx
trunk/sandy/haxe/trunk/src/sandy/util/StringUtil.hx
Log:
Minor bug fixes
Modified: trunk/sandy/haxe/trunk/src/sandy/util/RotationUtil.hx
==============================================================================
--- trunk/sandy/haxe/trunk/src/sandy/util/RotationUtil.hx (original)
+++ trunk/sandy/haxe/trunk/src/sandy/util/RotationUtil.hx Wed Apr 29
23:32:09 2009
@@ -15,7 +15,7 @@
* @version 3.1
* @date 12.03.2008
*/
-public class RotationUtil
+class RotationUtil
{
/**
* Tweening variable (tween this from 0 to 1).
Modified: trunk/sandy/haxe/trunk/src/sandy/util/StringUtil.hx
==============================================================================
--- trunk/sandy/haxe/trunk/src/sandy/util/StringUtil.hx (original)
+++ trunk/sandy/haxe/trunk/src/sandy/util/StringUtil.hx Wed Apr 29 23:32:09
2009
@@ -244,7 +244,7 @@
*/
public static function indexTimes(p_sStr:String, p_sSubstr:String,
p_nOccur:Int, p_nStart:Int):Int
{
- var id:Int = p_nStart?p_nStart:0;
+ var id:Int = p_nStart > 0 ? p_nStart : 0;
for(i in 0...p_nOccur) {
id = p_sStr.indexOf(p_sSubstr, id)+1;
}
_______________________________________________
Sandy mailing list
Sandy@osflash.org
http://osflash.org/mailman/listinfo/sandy_osflash.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic