whoops, missed a spot. or two

This commit is contained in:
Alcaro 2019-01-07 21:41:08 +01:00
parent 8eb78a9b15
commit 9c398f249a
2 changed files with 4 additions and 4 deletions

View File

@ -536,11 +536,11 @@ static bool CfgSumParseName(int* type, void* sum, LPCWSTR in)
LPCWSTR hex = in + wcslen(checkmap_typenames[t]);
if (wcslen(hex) != checkmap_sum_size[t]*2) return false;
WCHAR tmp[3];
unsigned tmpout;
unsigned tmpout = -1;
tmp[2] = '\0';
for (int i=0;i<checkmap_sum_size[t];i++)
{
tmp[0] = hex[i*2+0];
tmp[0] = hex[i*2+0]; // let non-hex yield garbage, messing with config voids your warranty anyways
tmp[1] = hex[i*2+1];
sscanf(tmp, "%x", &tmpout);
out[i] = tmpout; // not %hhx because XP doesn't trust c99

View File

@ -20,7 +20,7 @@ case "$i" in
echo n > profile/choice
;;
--profile=yes)
if [ ! -e profile/firefox-45.0esr.tar ]; then
if [ ! -e profile/firefox-10.0esr.tar ]; then
profile/download.sh
fi
;;
@ -81,7 +81,7 @@ rm flips flips.exe floating.zip obj/*
#[ -e flips ] || exit
#create linux binary
if [ -e profile/firefox-45.0esr.tar ]; then
if [ -e profile/firefox-10.0esr.tar ]; then
echo 'GTK+ (1/3)'
rm flips; TARGET=gtk make OPTFLAGS="$FLAGS -fprofile-generate -lgcov" || exit $?
[ -e flips ] || exit 1