mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fix bug
This commit is contained in:
parent
96a96b448c
commit
0bf6ff6c60
6 changed files with 13 additions and 4 deletions
|
|
@ -1231,7 +1231,12 @@ void ctlSQLBox::Copy() {
|
|||
//str.append(str[k].GetValue());
|
||||
l=1;
|
||||
if (!selText[k].IsAscii()) l++;
|
||||
str+=selText[k];
|
||||
int s=0;
|
||||
if (selText[k].GetValue()==9) s=5;
|
||||
if (selText[k].GetValue()==32) s=1;
|
||||
if (s>0) for (int tt=0;tt<s;tt++) str+=wxT(" ");
|
||||
else str+=selText[k];
|
||||
|
||||
if (str.EndsWith(wxT("\r\n"))) str+=wxT("<br>");
|
||||
startp=startp+l;
|
||||
k++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue