diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-11 13:20:14 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-11 13:20:14 +0200 |
| commit | 0f0f2faf031800dcac55a095ef6a9bde24ca0e54 (patch) | |
| tree | 9e58ae94946fd3f003e32eef7a3632ef1b759164 /pacman-c++/mainwidget.cpp | |
| parent | ff536f6d76acd8a7daaf0a8ca27c2ec3f0f42be9 (diff) | |
| download | foop-0f0f2faf031800dcac55a095ef6a9bde24ca0e54.tar.gz foop-0f0f2faf031800dcac55a095ef6a9bde24ca0e54.tar.bz2 foop-0f0f2faf031800dcac55a095ef6a9bde24ca0e54.zip | |
typo fix
Diffstat (limited to 'pacman-c++/mainwidget.cpp')
| -rw-r--r-- | pacman-c++/mainwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index df624da..d7318c9 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp | |||
| @@ -250,8 +250,8 @@ Color::Color MainWidget::connectToServer() | |||
| 250 | std::string data; | 250 | std::string data; |
| 251 | Util::QByteArrayToStdString(m_socket->readAll(), data); | 251 | Util::QByteArrayToStdString(m_socket->readAll(), data); |
| 252 | ProtoBuf::WhoAmI packet; | 252 | ProtoBuf::WhoAmI packet; |
| 253 | Q_ASSERT(worked); | ||
| 254 | bool worked = packet.ParseFromString(data); | 253 | bool worked = packet.ParseFromString(data); |
| 254 | Q_ASSERT(worked); | ||
| 255 | return static_cast<Color::Color>(packet.color() & Transmission::color_mask); | 255 | return static_cast<Color::Color>(packet.color() & Transmission::color_mask); |
| 256 | } | 256 | } |
| 257 | } | 257 | } |
