diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-09-19 19:31:21 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-19 09:43:33 -0700 |
commit | a319c42310a32706c36a3993ed6ce8f84859632a (patch) | |
tree | 43be025bc21b20f364dedb9b7624bee80940c8ad /qt-ui | |
parent | 89540e0fb2051b667135e2588e70b8ad49f61cd4 (diff) | |
download | subsurface-a319c42310a32706c36a3993ed6ce8f84859632a.tar.gz |
Rename BTH_ADDR_STR_LEN macro
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/btdeviceselectiondialog.cpp | 4 | ||||
-rw-r--r-- | qt-ui/btdeviceselectiondialog.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/btdeviceselectiondialog.cpp b/qt-ui/btdeviceselectiondialog.cpp index 40d57314f..2fa8ef167 100644 --- a/qt-ui/btdeviceselectiondialog.cpp +++ b/qt-ui/btdeviceselectiondialog.cpp @@ -588,8 +588,8 @@ void WinBluetoothDeviceDiscoveryAgent::run() if (result == SUCCESS) { // Found a device - QString deviceAddress(BTH_ADDR_STR_LEN, Qt::Uninitialized); - DWORD addressSize = BTH_ADDR_STR_LEN; + QString deviceAddress(BTH_ADDR_BUF_LEN, Qt::Uninitialized); + DWORD addressSize = BTH_ADDR_BUF_LEN; // Collect the address of the device from the WSAQUERYSET SOCKADDR_BTH *socketBthAddress = (SOCKADDR_BTH *) pResults->lpcsaBuffer->RemoteAddr.lpSockaddr; diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index d947d3449..a99afb80a 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -14,7 +14,7 @@ #include <ws2bth.h> #define SUCCESS 0 - #define BTH_ADDR_STR_LEN 40 + #define BTH_ADDR_BUF_LEN 40 #define BTH_ADDR_PRETTY_STRING_LEN 17 // there are 6 two-digit hex values and 5 colons #undef ERROR // this is already declared in our headers |