From 2c571f818575e45b2ea421a666c6a4a059d42db7 Mon Sep 17 00:00:00 2001 From: PerryWerneck Date: Sat, 10 Dec 2016 23:07:10 -0200 Subject: [PATCH] Incluindo métodos na API .NET --- src/native/screen.cc | 1 + src/pw3270-sharp/pw3270-sharp.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/native/screen.cc b/src/native/screen.cc index c7c603d..69ddb4d 100644 --- a/src/native/screen.cc +++ b/src/native/screen.cc @@ -44,6 +44,7 @@ int tn3270_get_string_at(h3270::session *ses, int row, int col, char* str, int s } int tn3270_set_string_at(h3270::session *ses, int row, int col, const char* str) { + debug("%s(%d,%d,\"%s\")",__FUNCTION__,row,col,str); ses->set_string_at(row,col,str); return 0; } diff --git a/src/pw3270-sharp/pw3270-sharp.cs b/src/pw3270-sharp/pw3270-sharp.cs index 1693ea8..86db968 100644 --- a/src/pw3270-sharp/pw3270-sharp.cs +++ b/src/pw3270-sharp/pw3270-sharp.cs @@ -307,7 +307,7 @@ namespace pw3270 { /// Start col /// Text to set /// - public void SetStringAg(int row, int col, string str) { + public void SetStringAt(int row, int col, string str) { tn3270_set_string_at(hSession, row, col, str); } -- libgit2 0.21.2