[setup - the official Cygwin setup program] branch master, updated. release_2.884-2-gb7bcb7e

jturney-9JcytcrH/[email protected]
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=b7bcb7e655cdb3acb2beaeaed7268b828d89f9e7

commit b7bcb7e655cdb3acb2beaeaed7268b828d89f9e7
Author: Jon Turney <[email protected]>
Date:   Sat Jan 20 19:58:49 2018 +0000

    Make any MessageBox shown by the GuiParseFeedback class modal to the progress page


Diff:
---
 ini.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ini.cc b/ini.cc
index e9152ec..87443a8 100644
--- a/ini.cc
+++ b/ini.cc
@@ -108,11 +108,11 @@ public:
     }
   virtual void warning (const std::string& message)const
     {
-      mbox (0, message.c_str (), "Warning", 0);
+      mbox (Progress.GetHWND(), message.c_str (), "Warning", 0);
     }
   virtual void error (const std::string& message)const
     {
-      mbox (0, message.c_str (), "Parse Errors", 0);
+      mbox (Progress.GetHWND(), message.c_str (), "Parse Errors", 0);
     }
   virtual ~ GuiParseFeedback ()
     {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.