From kde-commits Wed Dec 11 06:07:38 2002 From: George Staikos Date: Wed, 11 Dec 2002 06:07:38 +0000 To: kde-commits Subject: Re: kdeutils/klaptopdaemon (silent) X-MARC-Message: https://marc.info/?l=kde-commits&m=103958688221264 Oops, FYI, this also adds code that pretends we have APM if we have PMU but not APM. On December 11, 2002 01:03, George Staikos wrote: > CVS commit by staikos: > > fix compiler warning > CVS_SILENT > > > M +5 -2 portable.cpp 1.38 > > > --- kdeutils/klaptopdaemon/portable.cpp #1.37:1.38 > @@ -476,4 +476,7 @@ has_apm() > apm_no_time = apmx.battery_time < 0; > } > + > + if (val == 0) > + val = have_pmu(); > return(val); > } -- George Staikos