114:0e7f3ecdf65a | 115:bb7ef7c33dad |
---|---|
157 | 157 |
158 case SVRC_MESSAGE: | 158 case SVRC_MESSAGE: |
159 { | 159 { |
160 String message = packet.read_string(); | 160 String message = packet.read_string(); |
161 message.normalize(); | 161 message.normalize(); |
162 m_interface->print ("%s\n", message.chars()); | 162 m_interface->print_text ("%s\n", message.chars()); |
163 } | 163 } |
164 break; | 164 break; |
165 | 165 |
166 case SVRC_LOGGEDIN: | 166 case SVRC_LOGGEDIN: |
167 m_interface->print ("Login successful!\n"); | 167 m_interface->print ("Login successful!\n"); |
177 | 177 |
178 for (int i = packet.read_byte(); i > 0; --i) | 178 for (int i = packet.read_byte(); i > 0; --i) |
179 { | 179 { |
180 String message = packet.read_string(); | 180 String message = packet.read_string(); |
181 message.normalize(); | 181 message.normalize(); |
182 m_interface->print ("--- %s\n", message.chars()); | 182 m_interface->print_text ("--- %s\n", message.chars()); |
183 } | 183 } |
184 | 184 |
185 m_interface->print ("End of previous messages.\n"); | 185 m_interface->print ("End of previous messages.\n"); |
186 break; | 186 break; |
187 | 187 |