[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:02:35 UTC 2012


The following commit has been merged in the wheezy branch:
commit c686da8115ac151cb2614c93bda9fc92c6c10583
Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Mar 28 21:06:05 2012 +0200

    view: Also show the filename in the window title when loading it from command line.
    (cherry picked from commit 189800e04c43c623f8a9d4d1228e514b95b3efff)

diff --git a/programs/view/view.c b/programs/view/view.c
index ebd48aa..d32a10b 100644
--- a/programs/view/view.c
+++ b/programs/view/view.c
@@ -386,7 +386,10 @@ static void HandleCommandLine(LPWSTR cmdline)
             cmdline++;
             cmdline[lstrlenW(cmdline) - 1] = 0;
         }
+        szFileTitle[0] = 0;
+        GetFileTitleW(cmdline, szFileTitle, sizeof(szFileTitle));
         DoOpenFile(cmdline);
+        UpdateWindowCaption();
     }
 }
 

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list