wine: fix an error in the run dialog code