Commit 448d5efe60d71f96ae4a8ca7f7614af524553ed1

Authored by perry.werneck@gmail.com
1 parent f6a2a93a

Iniciando implementação de clipboard

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
@@ -172,6 +172,9 @@ LIB3270_ACTION(unselect) @@ -172,6 +172,9 @@ LIB3270_ACTION(unselect)
172 172
173 CHECK_SESSION_HANDLE(hSession); 173 CHECK_SESSION_HANDLE(hSession);
174 174
  175 + if(!hSession->selected)
  176 + return;
  177 +
175 hSession->selected = 0; 178 hSession->selected = 0;
176 179
177 for(a = 0; a < hSession->rows*hSession->cols; a++) 180 for(a = 0; a < hSession->rows*hSession->cols; a++)