From 9ea83d1fc66171dbbcf8d1d435eedbb75c346935 Mon Sep 17 00:00:00 2001 From: waspe Date: Mon, 17 Nov 2003 20:33:13 +0000 Subject: bugfix in getHalfTone(int) --- (limited to 'noncore/multimedia') diff --git a/noncore/multimedia/tonleiter/tonleiterdatahelper.cpp b/noncore/multimedia/tonleiter/tonleiterdatahelper.cpp index 6b8a5bd..c52e0da 100644 --- a/noncore/multimedia/tonleiter/tonleiterdatahelper.cpp +++ b/noncore/multimedia/tonleiter/tonleiterdatahelper.cpp @@ -99,10 +99,8 @@ int Scale::noOfHaltones() //**************************************************************************** int Scale::getHalfTone(int id) { - if(id>=0 && noOfHaltones()=0 && id