Revision: 51
http://picross.svn.sourceforge.net/picross/?rev=51&view=rev
Author: yvan_norsa
Date: 2008-04-18 00:32:24 -0700 (Fri, 18 Apr 2008)
Log Message:
-----------
fixed XBM loading
Modified Paths:
--------------
trunk/src/picross/game/simple/XBMModel.java
Modified: trunk/src/picross/game/simple/XBMModel.java
===================================================================
--- trunk/src/picross/game/simple/XBMModel.java 2008-04-17 12:05:40 UTC (rev 50)
+++ trunk/src/picross/game/simple/XBMModel.java 2008-04-18 07:32:24 UTC (rev 51)
@@ -1,7 +1,7 @@
/*
* $Id$
*
- * Copyright (c) 2007
+ * Copyright (c) 2007-2008
*
* This software is governed by the CeCILL license under French law and
* abiding by the rules of distribution of free software. You can use,
@@ -121,6 +121,8 @@
try {
while ((line = in.readLine()) != null) {
+ line = line.trim();
+
if (line.startsWith(XBMModel.DEFINE_DIRECTIVE)
&& line.contains(XBMModel.WIDTH_KEYWORD)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|