[dia] Fix typo in comment
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] Fix typo in comment
- Date: Fri, 23 Oct 2009 11:44:24 +0000 (UTC)
commit 3f5603536822ad64374877e827b16d016d332ee9
Author: Hans Breuer <hans breuer org>
Date: Sun Sep 27 18:53:48 2009 +0200
Fix typo in comment
objects/UML/class.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/objects/UML/class.c b/objects/UML/class.c
index 3cc384b..1cdb03f 100644
--- a/objects/UML/class.c
+++ b/objects/UML/class.c
@@ -1019,7 +1019,7 @@ umlclass_draw_operationbox(UMLClass *umlclass, DiaRenderer *renderer, Element *e
part_opstr_len = part_opstr_need;
part_opstr = g_realloc (part_opstr, part_opstr_need);
} else {
- /* ensure to never strncpy to NULL amd not shrink */
+ /* ensure to never strncpy to NULL and not shrink */
part_opstr = g_realloc (part_opstr, MAX(part_opstr_need, part_opstr_len));
}
strncpy( part_opstr, opstr, wrap_pos);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]