Commit ecd38d11 authored by Markus Koschany's avatar Markus Koschany

Fix a minor spelling mistake.

parent 2ce2d160
......@@ -3,3 +3,4 @@ do-not-strip
fix-install
do-not-create-too-many-mines
man-page.patch
spelling-mistake.patch
From: Markus Koschany <apo@debian.org>
Date: Mon, 3 Sep 2018 21:11:00 +0200
Subject: spelling mistake
---
files.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files.c b/files.c
index c12d425..d018390 100644
--- a/files.c
+++ b/files.c
@@ -50,7 +50,7 @@ int SourceFile(GameStats* Game,FILE* PrefsFile)
else if (strncasecmp(NameBuffer,"percent",7)==0)
{
Value=atoi(ValueBuffer);
- ((CheckPercent(Value)>0)?Game->Percent=Value,Game->NumMines=0:fprintf(stderr,"Invaid value for percent in preference file.\n"));
+ ((CheckPercent(Value)>0)?Game->Percent=Value,Game->NumMines=0:fprintf(stderr,"Invalid value for percent in preference file.\n"));
}
else if (strncasecmp(NameBuffer,"mines",5)==0)
{
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment