Thread: SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm

SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm

From
svn@pgadmin.org
Date:
Author: andreas
Date: 2005-09-10 19:15:20 +0100 (Sat, 10 Sep 2005)
New Revision: 4437

Modified:
   trunk/pgadmin3/src/frm/frmQuery.cpp
Log:
Fix parameter error

Modified: trunk/pgadmin3/src/frm/frmQuery.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmQuery.cpp    2005-09-10 18:10:15 UTC (rev 4436)
+++ trunk/pgadmin3/src/frm/frmQuery.cpp    2005-09-10 18:15:20 UTC (rev 4437)
@@ -1160,9 +1160,9 @@
         notifies++;

         if (notify->data.IsEmpty())
-            notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d"), notify->name,
notify->pid);
+            notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d"),
notify->name.c_str(),notify->pid); 
         else
-            notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d\n   Data: %s"),
notify->name,notify->pid, notify->data); 
+            notifyStr.Printf(_("\nAsynchronous notification of '%s' received from backend pid %d\n   Data: %s"),
notify->name.c_str(),notify->pid, notify->data.c_str()); 

         msgResult->AppendText(notifyStr);
         msgHistory->AppendText(notifyStr);
@@ -1176,7 +1176,7 @@
         if (statusMsg.Last() == '.')
             statusMsg = statusMsg.Left(statusMsg.Length() - 1);

-        SetStatusText(wxString::Format(_("%s (%d asynchronous notifications received)."), statusMsg, notifies),
STATUSPOS_MSGS);
+        SetStatusText(wxString::Format(_("%s (%d asynchronous notifications received)."), statusMsg.c_str(),
notifies),STATUSPOS_MSGS); 
     }

     msgResult->AppendText(wxT("\n"));