aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-09 22:43:25 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-09 22:43:25 +0800
commit4ac82c14c897e907e2df607920f5fe9a7b113eb5 (patch)
treeced61cf9bd6810f90bc35a347f106241502c7d91 /addressbook
parentaae2005a2e3a3c2768abddd7c92ff04c35afc29c (diff)
downloadgsoc2013-evolution-4ac82c14c897e907e2df607920f5fe9a7b113eb5.tar.gz
gsoc2013-evolution-4ac82c14c897e907e2df607920f5fe9a7b113eb5.tar.zst
gsoc2013-evolution-4ac82c14c897e907e2df607920f5fe9a7b113eb5.zip
Fixed a small off by one error that was causing an extra character to get
2000-07-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-model.c: Fixed a small off by one error that was causing an extra character to get deleted sometimes. svn path=/trunk/; revision=4016
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names-model.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 8a14d49470..27a59f3d8b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-09 Christopher James Lahey <clahey@helixcode.com>
+
+ * gui/component/select-names/e-select-names-model.c: Fixed a small
+ off by one error that was causing an extra character to get
+ deleted sometimes.
+
2000-07-09 Anders Carlsson <andersca@gnu.org>
* gui/minicard/test-reflow.c (allocate_callback): Fix off by one bug with
diff --git a/addressbook/gui/component/select-names/e-select-names-model.c b/addressbook/gui/component/select-names/e-select-names-model.c
index fcf945259a..2281339a47 100644
--- a/addressbook/gui/component/select-names/e-select-names-model.c
+++ b/addressbook/gui/component/select-names/e-select-names-model.c
@@ -341,7 +341,7 @@ e_select_names_model_delete (ESelectNamesModel *model,
gchar *temp = g_strdup_printf("%.*s%s", index, node->string, node->string + index + length);
g_free(node->string);
node->string = temp;
- length = 0;
+ break;
}
if (length > 0) {
@@ -353,6 +353,7 @@ e_select_names_model_delete (ESelectNamesModel *model,
node2->string = temp;
e_iterator_prev(iterator);
e_iterator_delete(iterator);
+ length --;
}
}
}
>21-60/+128 |\| | * Ensure the port is linked to libncursesw to properly support wildchar.bapt2019-09-132-4/+18 | * misc/qt5ct: update to 0.41tcberner2019-09-102-10/+10 | * - Update to 1.82danilo2019-09-102-5/+4 | * utouch - driver for absolute USB HID mouses emulated by some virtualizationwulf2019-09-105-0/+68 | * misc/findutils: Update to 4.7.0dbaio2019-09-094-32/+12 | * Mark BROKENantoine2019-09-081-0/+2 | * - Update to 0.9tota2019-09-082-5/+4 | * misc/osinfo-db: update to 20190905novel2019-09-073-4/+10 * | Merge remote-tracking branch 'upstream/master'Koop Mast2019-09-0746-377/+375 |\| | * KDE Applications: update to 19.08.1tcberner2019-09-068-24/+24 | * Remove expired ports:rene2019-09-055-311/+0 | * misc/dive: Update 0.7.2 -> 0.8.0yuri2019-09-042-6/+6 | * misc/py-spdx-tools: Update to 0.6.1kai2019-09-042-9/+11 | * New port: misc/iio-oscilloscope: Oscilloscope application for interfacing wit...yuri2019-09-025-0/+241 | * New port: misc/libad9361-iio: IIO AD9361 library for filter design, handling,...yuri2019-09-024-0/+42 | * graphics/poppler: update to 0.80.0tcberner2019-09-022-2/+2 | * misc/adios2: fix build with GCC-based architecturespkubaj2019-08-301-1/+4 | * Update to 4.0.3ehaupt2019-08-302-4/+4 | * misc/lf: Switch to USES=go:modules, fix build with go1.13yuri2019-08-291-2/+1 | * - Regenerate patches with make makepatchgarga2019-08-272-4/+6 | * Update to 4.35.0sunpoet2019-08-262-4/+4 | * Update to r53316 from the FreeBSD docset.blackend2019-08-2612-7/+29 | * misc/dive: Switch to USES=go:modules, fix build with go1.13yuri2019-08-251-3/+1 * | Merge remote-tracking branch 'upstream/master'Koop Mast2019-08-2446-247/+665 |\| | * devel/boost-*: update to 1.71.0jbeich2019-08-196-5/+6 | * misc/zoneinfo: install zone1970.tab and other fixestmunro2019-08-1916-163/+93 | * misc/gobuster: Switch to USES=go:modules, fix build with go1.13yuri2019-08-161-2/+2 | * misc/nnn: Update to 2.6yuri2019-08-162-9/+9 | * - Add new fpc bootstrap (i386 and x86_64). It could need less COMPATXacm2019-08-161-1/+0 | * Update KDE Applications to latest upstream release, 19.08adridg2019-08-1522-68/+556 * | Merge remote-tracking branch 'upstream/master'Koop Mast2019-08-1568-154/+405 |\| | * Update KDE Frameworks to latest upstream release, 5.61adridg2019-08-154-4/+69 | * Update devel/cmake to 3.15.2 (latest upstream release)adridg2019-08-143-0/+28 | * misc/pubs: 0.8.2 -> 0.8.3yuri2019-08-142-5/+4 | * misc/ansiweather: Update to 1.14.0dbaio2019-08-142-4/+4 | * onvert to UCL & cleanup pkg-message (categories l-m)mat2019-08-1436-88/+242 | * Update to 3.0.3sunpoet2019-08-143-6/+4 | * Update to 1.47.11sunpoet2019-08-142-4/+4 | * Mk/bsd.sanity.mk: Flag non-integer PORTREVISION/PORTEPOCHtobik2019-08-131-1/+1 | * Style: move GH_* variables closer to each other0mp2019-08-131-3/+0 | * Update to 0.3.3sunpoet2019-08-132-8/+8 | * Update to 2019.2sunpoet2019-08-132-4/+4 | * Bump PORTREVISION in accordance with editors/apel update.nobutaka2019-08-121-0/+1 | * Update to 1.130sunpoet2019-08-112-6/+7 | * - Update WWWamdmi32019-08-101-1/+1 | * misc/osinfo-db: update to 20190805novel2019-08-102-4/+4 | * - Fix LICENSEamdmi32019-08-093-15/+23 | * Cleanup LIB_DEPENDSantoine2019-08-081-1/+1 * | Merge remote-tracking branch 'upstream/master'Koop Mast2019-08-07106-80/+418 |\| | * multimedia/ffmpeg: update to 4.2jbeich2019-08-061-1/+1 | * misc/libsweep-lidar: fix build with GCC architecturespkubaj2019-08-052-3/+12 | * Mark BROKEN: unfetchableantoine2019-08-0515-0/+30 | * Deprecate ports broken for more than 6 monthsantoine2019-08-041-0/+2 | * misc/osinfo-db: update to 20190726novel2019-08-043-6/+8 | * misc/libemos: fix build with GCC architecturespkubaj2019-08-031-1/+1 | * Update to 2.7.5sunpoet2019-08-032-4/+4 | * Update to 2.7.5sunpoet2019-08-032-4/+4 | * Update to 2.7.5sunpoet2019-08-032-4/+4 | * Update to 2.7.5sunpoet2019-08-032-4/+4 | * graphics/poppler: update to 0.79.0tcberner2019-08-012-2/+2 | * misc/snakemake: Update 5.5.3 -> 5.5.4yuri2019-07-312-4/+4 | * Update to 1.79sunpoet2019-07-302-5/+5 | * Update to 20190725sunpoet2019-07-302-5/+5 | * Update to 1.78sunpoet2019-07-292-5/+5 | * misc/libemos: Unbreak, it was broken by the science/eccodes update in r506947yuri2019-07-292-4/+4 | * New port: misc/adios2: Next generation of ADIOS developed in the Exascale Com...yuri2019-07-286-0/+223 | * misc/urh: 2.7.0 -> 2.7.3yuri2019-07-282-5/+4 | * Add p5-Geo-Address-Formatter 1.77sunpoet2019-07-275-0/+48 | * - update from 0.10.2 to 0.10.3misha2019-07-272-4/+4 | * Bump PORTREVISION for ports depending on the canonical version of GCCgerald2019-07-2759-34/+59 * | Merge remote-tracking branch 'upstream/master'Koop Mast2019-07-2760-295/+335 |\| | * misc/mbuffer: Update to 20190725tobik2019-07-264-15/+39 | * Mark BROKEN: fails to linkantoine2019-07-231-0/+2 | * misc/lifelines: Unbreak build as usertobik2019-07-231-0/+1 | * misc/lf: Update 12 -> 13yuri2019-07-222-4/+4 | * misc/bitwise: Move to the 'math' category; Fix license; Update COMMENTyuri2019-07-224-31/+0 | * misc/bitwise: Update 0.31 -> 0.32yuri2019-07-212-4/+4 | * misc/urh: fix build on GCC architecturespkubaj2019-07-201-1/+1 | * - Fix typo in COMMENTamdmi32019-07-171-1/+1 | * misc/free42: Update 2.4.1 -> 2.4.2yuri2019-07-172-4/+4 | * KDE Frameworks: update to 5.60.0tcberner2019-07-173-7/+8 | * New port: misc/dive: Tool for exploring each layer in a docker imageyuri2019-07-164-0/+172 | * Remove expired ports:rene2019-07-148-113/+0 | * misc/openhmd: Update 0.2.0-215 -> 0.3.0yuri2019-07-133-23/+8 | * misc/bitwise: Update 0.22 -> 0.31yuri2019-07-132-4/+4 | * misc/py-palettable: Update 3.1.1 -> 3.2.0yuri2019-07-132-4/+4 | * misc/snakemake: Update 5.5.2 -> 5.5.3yuri2019-07-132-4/+4 | * KDE Applications: update to 19.04.3tcberner2019-07-128-24/+24 | * misc/tellico: update to 3.2.1tcberner2019-07-112-5/+4 | * Add MANIFEST files for 11.3-RELEASE.gjb2019-07-1014-59/+59 * | Git and myself don't get along, I messed up the master branch really goodKoop Mast2019-07-27