summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/image.cpp')
-rw-r--r--protocols/Gadu-Gadu/image.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/image.cpp b/protocols/Gadu-Gadu/image.cpp
index 8cf2db6a2d..342c2549de 100644
--- a/protocols/Gadu-Gadu/image.cpp
+++ b/protocols/Gadu-Gadu/image.cpp
@@ -621,7 +621,7 @@ static INT_PTR CALLBACK gg_img_dlgproc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (dat->lpImages && gg->isonline())
{
- uin_t uin = (uin_t)db_get_b(dat->hContact, gg->m_szModuleName, GG_KEY_UIN, 0);
+ uin_t uin = (uin_t)db_get_dw(dat->hContact, gg->m_szModuleName, GG_KEY_UIN, 0);
struct gg_msg_richtext_format *r = NULL;
struct gg_msg_richtext_image *p = NULL;
LPVOID pvData = NULL;
@@ -904,7 +904,7 @@ int GGPROTO::img_display(HANDLE hContact, void *img)
if (!dat)
{
dat = gg_img_recvdlg(this, hContact);
- dat->uin = db_get_b(hContact, m_szModuleName, GG_KEY_UIN, 0);
+ dat->uin = db_get_dw(hContact, m_szModuleName, GG_KEY_UIN, 0);
while (WaitForSingleObjectEx(dat->hEvent, INFINITE, TRUE) != WAIT_OBJECT_0);
CloseHandle(dat->hEvent);
@@ -1121,7 +1121,7 @@ GGIMAGEDLGDATA* gg_img_find(GGPROTO *gg, uin_t uin, uint32_t crc32)
dat = (GGIMAGEDLGDATA *)l->data;
if (!dat) break;
- c_uin = db_get_b(dat->hContact, dat->gg->m_szModuleName, GG_KEY_UIN, 0);
+ c_uin = db_get_dw(dat->hContact, dat->gg->m_szModuleName, GG_KEY_UIN, 0);
if (!dat->bReceiving && dat->lpImages && dat->lpImages->crc32 == crc32 && c_uin == uin)
{