File: spelling-mistake.patch

package info (click to toggle)
freesweep 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 648 kB
  • sloc: ansic: 5,331; sh: 2,180; makefile: 204
file content (21 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)
 				{