Skip site navigation (1) Skip section navigation (2)

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

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4437 - trunk/pgadmin3/src/frm
Date: 2005-09-10 18:15:20
Message-ID: 200509101815.j8AIFKqL011498@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
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"));


pgadmin-hackers by date

Next:From: Andreas PflugDate: 2005-09-10 18:22:13
Subject: suse makefile?
Previous:From: Andreas PflugDate: 2005-09-10 18:12:23
Subject: Re: FW: cron: sh /usr/local/src/pgadmin3/pkg/src/build-tarball;sh

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group