View Issue Details

IDProjectCategoryView StatusLast Update
0001039OpenMPTlibopenmptpublic2017-10-03 10:27
Reporterjcowgill Assigned Tomanx  
PrioritylowSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product VersionOpenMPT 1.27.01.00 / libopenmpt 0.3.1 (upgrade first) 
Target VersionOpenMPT 1.27.02.00 / libopenmpt 0.3.2/0.3.3 (upgrade first)Fixed in VersionOpenMPT 1.27.02.00 / libopenmpt 0.3.2/0.3.3 (upgrade first) 
Summary0001039: Fix a few spelling mistakes reported by lintian
Description

Lintian (https://lintian.debian.org/) is Debian's package checker which tries to automatically discover packaging issues.

It found a few spelling mistakes which the attached patch fixes.

TagsNo tags attached.
Attached Files
0001-Fix-some-spelling-issues-repotred-by-lintian.patch (2,610 bytes)   
From ddc77f8211091d099fcb3ae2cf0a8ab59a05196d Mon Sep 17 00:00:00 2001
From: James Cowgill <jcowgill@debian.org>
Date: Tue, 3 Oct 2017 09:47:40 +0100
Subject: [PATCH] Fix some spelling issues repotred by lintian

See https://lintian.debian.org
---
 libopenmpt/libopenmpt_c.cpp | 4 ++--
 openmpt123/openmpt123.cpp   | 2 +-
 soundlib/load_j2b.cpp       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libopenmpt/libopenmpt_c.cpp b/libopenmpt/libopenmpt_c.cpp
index c001d3de6..45b8ff7d8 100644
--- a/libopenmpt/libopenmpt_c.cpp
+++ b/libopenmpt/libopenmpt_c.cpp
@@ -109,7 +109,7 @@ static std::string format_exception( const char * const function ) {
 	} catch ( ... ) {
 		err += function;
 		err += ": ";
-		err += "UNKOWN INTERNAL ERROR";
+		err += "UNKNOWN INTERNAL ERROR";
 	}
 	return err;
 }
@@ -374,7 +374,7 @@ int openmpt_error_is_transient( int error ) {
 }
 
 const char * openmpt_error_string( int error ) {
-	const char * text = "unkown error";
+	const char * text = "unknown error";
 	switch ( error ) {
 		case OPENMPT_ERROR_OK:                
 			text = "";
diff --git a/openmpt123/openmpt123.cpp b/openmpt123/openmpt123.cpp
index 529079ffa..e99bffcb6 100644
--- a/openmpt123/openmpt123.cpp
+++ b/openmpt123/openmpt123.cpp
@@ -509,7 +509,7 @@ static void show_info( std::ostream & log, bool verbose ) {
 	log << " <https://libsdl.org/>" << std::endl;
 #endif
 #ifdef MPT_WITH_PULSEAUDIO
-	log << " " << "libpulse, libpulse-simple" << " (headers " << pa_get_headers_version()  << ", API " << PA_API_VERSION << ", PROTOCOL " << PA_PROTOCOL_VERSION << ", library " << ( pa_get_library_version() ? pa_get_library_version() : "unkown" ) << ") <https://www.freedesktop.org/wiki/Software/PulseAudio/>" << std::endl;
+	log << " " << "libpulse, libpulse-simple" << " (headers " << pa_get_headers_version()  << ", API " << PA_API_VERSION << ", PROTOCOL " << PA_PROTOCOL_VERSION << ", library " << ( pa_get_library_version() ? pa_get_library_version() : "unknown" ) << ") <https://www.freedesktop.org/wiki/Software/PulseAudio/>" << std::endl;
 #endif
 #ifdef MPT_WITH_PORTAUDIO
 	log << " " << Pa_GetVersionText() << " (" << Pa_GetVersion() << ") <http://portaudio.com/>" << std::endl;
diff --git a/soundlib/load_j2b.cpp b/soundlib/load_j2b.cpp
index 897e7a635..bd746b5ab 100644
--- a/soundlib/load_j2b.cpp
+++ b/soundlib/load_j2b.cpp
@@ -413,7 +413,7 @@ struct AMSampleHeader
 	uint16le pan;
 	uint16le volume;
 	uint16le flags;
-	uint16le unkown;		// 0x0000 / 0x0080?
+	uint16le unknown;		// 0x0000 / 0x0080?
 	uint32le length;
 	uint32le loopStart;
 	uint32le loopEnd;
-- 
2.14.2

Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

manx

manx

2017-10-03 10:27

administrator   ~0003288

Thanks. Applied as r9030 (0.4) and r9031 (0.3).

Issue History

Date Modified Username Field Change
2017-10-03 08:48 jcowgill New Issue
2017-10-03 08:48 jcowgill File Added: 0001-Fix-some-spelling-issues-repotred-by-lintian.patch
2017-10-03 08:50 manx Assigned To => manx
2017-10-03 08:50 manx Status new => assigned
2017-10-03 10:27 manx Status assigned => resolved
2017-10-03 10:27 manx Resolution open => fixed
2017-10-03 10:27 manx Fixed in Version => OpenMPT 1.27.02.00 / libopenmpt 0.3.2/0.3.3 (upgrade first)
2017-10-03 10:27 manx Note Added: 0003288
2017-10-03 10:27 manx Target Version => OpenMPT 1.27.02.00 / libopenmpt 0.3.2/0.3.3 (upgrade first)