if (! config->getValue(screenstr + "edgeSnapThreshold",
resource.snap_threshold))
resource.snap_threshold = 4;
if (! config->getValue(screenstr + "resistanceSize",
resource.resistance_size))
if (! config->getValue(screenstr + "edgeSnapThreshold",
resource.snap_threshold))
resource.snap_threshold = 4;
if (! config->getValue(screenstr + "resistanceSize",
resource.resistance_size))