This commit is contained in:
Greyscale 2009-09-20 14:59:20 -07:00
commit 43aee8b0b0
3 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,6 @@ cp -r "$DOCS" "$RELEASEDIR"
mkdir -p $RELEASEDIR/$PLUGINDIR mkdir -p $RELEASEDIR/$PLUGINDIR
cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE
cp -r license.txt $RELEASEDIR/$DOCS/license.txt
# Make release package. # Make release package.
echo "Compressing files..." echo "Compressing files..."

View File

@ -279,8 +279,11 @@ stock ParamParseString(buffer[][ParamParseResult], maxlen, String:paramString[],
// Check if the current character is a special character. // Check if the current character is a special character.
if (paramString[startpos] == '"') if (paramString[startpos] == '"')
{ {
// Toggle quote. // Toggle quote if the current quote is not escaped.
if (paramString[startpos - 1] != '\\')
{
quoteon = !quoteon; quoteon = !quoteon;
}
// Check quote state. // Check quote state.
if (quoteon) if (quoteon)