From: handa Date: Fri, 27 Aug 2004 07:47:00 +0000 (+0000) Subject: (mface_put_prop): If the new value is the same as the X-Git-Tag: REL-1-2-0~218 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f77fab4e243f557ed9f9ec9d25e6690f935951;p=m17n%2Fm17n-lib.git (mface_put_prop): If the new value is the same as the current one, don't increment frame->tick. --- diff --git a/src/face.c b/src/face.c index eb7a0b1..ad167a0 100644 --- a/src/face.c +++ b/src/face.c @@ -1723,6 +1723,9 @@ mface_put_prop (MFace *face, MSymbol key, void *val) val = get_hline_create (val); else if (key == Mbox) val = get_box_create (val); + + if (face->properties[index] == val) + return 0; face->property[index] = val; MPLIST_DO (plist, face->frame_list)