This is better: ==================================================================================
--- acpitool-orig//acpitool-0.5.1/src/acpitool.cpp 2009-08-13 14:37:48.000000000 -0500 +++ acpitool-new//acpitool-0.5.1/src/acpitool.cpp 2011-07-28 08:40:37.000000000 -0500 @@ -200,14 +200,15 @@ file_in.getline(str, 9); file_in.close(); - if(strncmp(str,"2.4",3)==0) - { + if(strncmp(str,"2.4",3)==0) { Kernel_24 = 1; Kernel_26 = 0; } - - if(strncmp(str,"2.6",3)==0) - { + else if(strncmp(str,"2.6",3)==0) { + Kernel_24 = 0; + Kernel_26 = 1; + } + else { Kernel_24 = 0; Kernel_26 = 1; } ================================================================================ Hugo Vanwoerkom -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org