]> code.delx.au - gnu-emacs/blobdiff - src/casefiddle.c
(gc_cons_threshold): Not static.
[gnu-emacs] / src / casefiddle.c
index 4505f477c90fd100a79fc7e015a2b9d8e073711f..b063ef7510a8bb4f32344caae0938c50ed0835ba 100644 (file)
@@ -16,8 +16,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU Emacs; see the file COPYING.  If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.  */
 
 
 #include <config.h>
@@ -255,7 +255,8 @@ casify_region (flag, b, e)
                                   start + 1, i + fromlen,
                                   str, 1, tolen,
                                   1);
-                 opoint_byte += tolen - fromlen;
+                 if (opoint > start)
+                   opoint_byte += tolen - fromlen;
                }
            }
          if ((int) flag >= (int) CASE_CAPITALIZE)