Include <config.h> instead of "config.h".
[bpt/emacs.git] / src / casefiddle.c
index d496ffd..44ecab5 100644 (file)
@@ -18,7 +18,7 @@ along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 
-#include "config.h"
+#include <config.h>
 #include "lisp.h"
 #include "buffer.h"
 #include "commands.h"
@@ -117,7 +117,7 @@ casify_region (flag, b, e)
     return;
 
   validate_region (&b, &e);
-  modify_region (XFASTINT (b), XFASTINT (e));
+  modify_region (current_buffer, XFASTINT (b), XFASTINT (e));
   record_change (XFASTINT (b), XFASTINT (e) - XFASTINT (b));
 
   for (i = XFASTINT (b); i < XFASTINT (e); i++)