equal
deleted
inserted
replaced
140 |
140 |
141 /* If GetDParam(0) != 0 means the new text for the sign is non-empty. |
141 /* If GetDParam(0) != 0 means the new text for the sign is non-empty. |
142 * So rename the sign. If it is empty, it has no name, so delete it */ |
142 * So rename the sign. If it is empty, it has no name, so delete it */ |
143 if (GetDParam(0) != 0) { |
143 if (GetDParam(0) != 0) { |
144 /* Create the name */ |
144 /* Create the name */ |
145 StringID str = AllocateName((const char*)_decode_parameters, 0); |
145 StringID str = AllocateName(_cmd_text, 0); |
146 if (str == 0) return CMD_ERROR; |
146 if (str == 0) return CMD_ERROR; |
147 |
147 |
148 if (flags & DC_EXEC) { |
148 if (flags & DC_EXEC) { |
149 ss = GetSign(p1); |
149 ss = GetSign(p1); |
150 |
150 |