Fix a compile warning (I seem to only get this on W8). Anyhow, '-' is not a valid character for resources