Module: wine
Branch: master
Commit: 8f985884ea1dc888c44bd29b145a0845fc8776c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8f985884ea1dc888c44bd29b1…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Sat Apr 13 17:07:47 2013 +0400
user32: Use defined constants to identify message box buttons.
---
dlls/user32/msgbox.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/user32/msgbox.c b/dlls/user32/msgbox.c
index 91437bc..9328cd0 100644
--- a/dlls/user32/msgbox.c
+++ b/dlls/user32/msgbox.c
@@ -86,11 +86,11 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
SystemParametersInfoW (SPI_GETNONCLIENTMETRICS, 0, &nclm, 0);
hFont = CreateFontIndirectW (&nclm.lfMessageFont);
/* set button font */
- for (i=1; i < 12; i++)
- /* No button 8 (Close) */
- if (i != 8) {
+ for (i = IDOK; i <= IDCONTINUE; i++)
+ /* no close button */
+ if (i != IDCANCEL)
SendDlgItemMessageW (hwnd, i, WM_SETFONT, (WPARAM)hFont, 0);
- }
+
/* set text font */
SendDlgItemMessageW (hwnd, MSGBOX_IDTEXT, WM_SETFONT, (WPARAM)hFont, 0);
@@ -234,9 +234,9 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
/* Get the number of visible buttons and their size */
bh = bw = 1; /* Minimum button sizes */
- for (buttons = 0, i = 1; i < 12; i++)
+ for (buttons = 0, i = IDOK; i <= IDCONTINUE; i++)
{
- if (i == 8) continue; /* No CLOSE button */
+ if (i == IDCLOSE) continue; /* No CLOSE button */
hItem = GetDlgItem(hwnd, i);
if (GetWindowLongW(hItem, GWL_STYLE) & WS_VISIBLE)
{
Module: website
Branch: master
Commit: af3c21bcb79ba057e00c400a4dac4bbe609fff3d
URL: http://source.winehq.org/git/website.git/?a=commit;h=af3c21bcb79ba057e00c40…
Author: Łukasz Wojniłowicz <lukasz.wojnilowicz(a)gmail.com>
Date: Sat Apr 13 13:59:49 2013 +0200
Polish translation for release 1.5.28
---
news/pl/2013041201.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/news/pl/2013041201.xml b/news/pl/2013041201.xml
new file mode 100644
index 0000000..47f6d55
--- /dev/null
+++ b/news/pl/2013041201.xml
@@ -0,0 +1,17 @@
+<news>
+<date>Kwiecień 12, 2013</date>
+<title>Wydano Wine 1.5.28</title>
+<body>
+<p> Wydanie rozwojowe Wine 1.5.28 jest już dostępne.</p>
+<p> <a href="{$root}/announce/1.5.28">Co nowego</a> w tym wydaniu:
+<ul>
+ <li>GnuTLS jest używany dla wszystkich bezpiecznych połączeń, OpenSSL już nie jest potrzebny.</li>
+ <li>Sterownik Mac jest domyślnie włączony.</li>
+ <li>Wbudowane czcionki FixedSys.</li>
+ <li>Nowa ikona dla joysticku w panelu sterowania.</li>
+ <li>Ulepszenia w sterowniku Postscript.</li>
+ <li>Rozmaite poprawki błędów.</li>
+</ul></p>
+<p><p>Źródło jest <a href="http://prdownloads.sourceforge.net/wine/wine-1.5.28.tar.bz2">już dostępne</a>.
+Paczki binarne są w trakcie budowy i ukażą się wkrótce w przeznaczonych dla nich <a href="{$root}/download">pobieralniach</a>.
+</p></body></news>