Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EAA1104B7 for ; Fri, 7 Mar 2014 18:52:07 +0000 (UTC) Received: (qmail 21064 invoked by uid 500); 7 Mar 2014 18:52:07 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 20946 invoked by uid 500); 7 Mar 2014 18:52:05 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 20937 invoked by uid 99); 7 Mar 2014 18:52:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 18:52:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 18:52:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0C5C3238899C; Fri, 7 Mar 2014 18:51:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1575369 - /subversion/trunk/subversion/libsvn_fs_x/string_table.c Date: Fri, 07 Mar 2014 18:51:42 -0000 To: commits@subversion.apache.org From: breser@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140307185143.0C5C3238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: breser Date: Fri Mar 7 18:51:42 2014 New Revision: 1575369 URL: http://svn.apache.org/r1575369 Log: Typo fix, no functional change. * subversion/libsvn_fs_x/string_table.c (balance): s/hight/height/ Modified: subversion/trunk/subversion/libsvn_fs_x/string_table.c Modified: subversion/trunk/subversion/libsvn_fs_x/string_table.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/string_table.c?rev=1575369&r1=1575368&r2=1575369&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_fs_x/string_table.c (original) +++ subversion/trunk/subversion/libsvn_fs_x/string_table.c Fri Mar 7 18:51:42 2014 @@ -137,29 +137,29 @@ balance(builder_table_t *table, builder_string_t **parent, builder_string_t *node) { - unsigned left_hight = node->left ? node->left->depth + 1 : 0; - unsigned right_hight = node->right ? node->right->depth + 1 : 0; + unsigned left_height = node->left ? node->left->depth + 1 : 0; + unsigned right_height = node->right ? node->right->depth + 1 : 0; - if (left_hight > right_hight + 1) + if (left_height > right_height + 1) { builder_string_t *temp = node->left->right; node->left->right = node; *parent = node->left; node->left = temp; - --left_hight; + --left_height; } - else if (left_hight + 1 < right_hight) + else if (left_height + 1 < right_height) { builder_string_t *temp = node->right->left; *parent = node->right; node->right->left = node; node->right = temp; - --right_hight; + --right_height; } - node->depth = MAX(left_hight, right_hight); + node->depth = MAX(left_height, right_height); } static apr_uint16_t