# HG changeset patch # User Matti Hamalainen # Date 1509314789 -7200 # Node ID 72850f9a91dcdbe4c134fc2545807740c9af9290 # Parent 364e5ae523987753960810de87ff49c0fec55e44 Oops, forgot this change from the strchr() related commit. diff -r 364e5ae52398 -r 72850f9a91dc mapsearch.c --- a/mapsearch.c Mon Oct 30 00:05:13 2017 +0200 +++ b/mapsearch.c Mon Oct 30 00:06:29 2017 +0200 @@ -748,7 +748,7 @@ } // Find pattern center marker, if any - centerFound = mapBlockFindCenter(pattern, "*@", ¢erX, ¢erY, 20); + centerFound = mapBlockFindCenter(pattern, (unsigned char*) "*@", 2, ¢erX, ¢erY, 20); // Clean the pattern from characters we do not want to match mapBlockClean(pattern, optCleanChars);