From kde-core-devel Mon Oct 30 05:08:23 2000 From: Charles Samuels Date: Mon, 30 Oct 2000 05:08:23 +0000 To: kde-core-devel Subject: KDateTable patch: (good for 2.0.1) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=97288258601012 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_ZX88PV7W89D152T5X7U8" --------------Boundary-00=_ZX88PV7W89D152T5X7U8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This fixes an off-by-one bug in KDateTable. It's good for 2.0.1, but sin= ce=20 I'm not maintainer, and I don't know what the requirements for patching a= re=20 and all, I'll just mail the patch here. -Charles =00 --------------Boundary-00=_ZX88PV7W89D152T5X7U8 Content-Type: text/english; name="kdatetbl.offbyone.diff" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="kdatetbl.offbyone.diff" Index: kdatetbl.cpp =================================================================== RCS file: /home/kde/kdelibs/kdeui/kdatetbl.cpp,v retrieving revision 1.27 diff -u -r1.27 kdatetbl.cpp --- kdatetbl.cpp 2000/08/15 21:42:06 1.27 +++ kdatetbl.cpp 2000/10/30 05:05:50 @@ -243,12 +243,12 @@ return; } pos=7*(row-1)+col+1; - if(posbeep(); return; } - if(firstday+numdays<=pos) + if(firstday+numdaysbeep(); return; --------------Boundary-00=_ZX88PV7W89D152T5X7U8--