kopia lustrzana https://github.com/njcrawford/EmbroideryReader
Updated GPL contact info, renamed enum member to fit actual use.
rodzic
40ceaf5317
commit
9aae459274
|
@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|||
02111-1307, USA.
|
||||
|
||||
A copy of the full GPL 2 license can be found in the docs directory.
|
||||
You can contact me at http://www.njcrawford.com/contact.php.
|
||||
You can contact me at http://www.njcrawford.com/contact/.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
@ -29,7 +29,7 @@ using System.Drawing;
|
|||
|
||||
namespace PesFile
|
||||
{
|
||||
public enum statusEnum { NotOpen, IOError, ReadError, Ready };
|
||||
public enum statusEnum { NotOpen, IOError, ParseError, Ready };
|
||||
public class stitchBlock
|
||||
{
|
||||
public Color color;
|
||||
|
@ -97,7 +97,7 @@ namespace PesFile
|
|||
}
|
||||
if (!startFileSig.StartsWith("#PES"))//this is not a file that we can read
|
||||
{
|
||||
readyStatus = statusEnum.ReadError;
|
||||
readyStatus = statusEnum.ParseError;
|
||||
lastError = "Missing #PES at beginning of file";
|
||||
fileIn.Close();
|
||||
return;
|
||||
|
|
Ładowanie…
Reference in New Issue