Update decodeway.cpp