File: fix-spelling

package info (click to toggle)
vcmi 0.99%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: stretch
  • size: 10,264 kB
  • ctags: 16,826
  • sloc: cpp: 121,945; objc: 248; sh: 193; makefile: 28; python: 13; ansic: 9
file content (25 lines) | stat: -rw-r--r-- 895 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix two spelling mistakes
Author: Johannes Schauer <josch@debian.org>

--- vcmi-0.99+dfsg.orig/client/CMusicHandler.cpp
+++ vcmi-0.99+dfsg/client/CMusicHandler.cpp
@@ -483,7 +483,7 @@ bool MusicEntry::stop(int fade_ms)
 {
 	if (Mix_PlayingMusic())
 	{
-		logGlobal->traceStream()<<"Stoping music file "<<currentName;
+		logGlobal->traceStream()<<"Stopping music file "<<currentName;
 		loop = 0;
 		Mix_FadeOutMusic(fade_ms);
 		return true;
--- vcmi-0.99+dfsg.orig/lib/rmg/CRmgTemplate.cpp
+++ vcmi-0.99+dfsg/lib/rmg/CRmgTemplate.cpp
@@ -47,7 +47,7 @@ int CRmgTemplateZoneConnection::getGuard
 
 void CRmgTemplateZoneConnection::setGuardStrength(int value)
 {
-	if(value < 0) throw std::runtime_error("Negative value for guard strenth not allowed.");
+	if(value < 0) throw std::runtime_error("Negative value for guard strength not allowed.");
 	guardStrength = value;
 }