#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- tn5250/src/tn5250-python.c~python
+++ tn5250/src/tn5250-python.c
@@ -2625,11 +2625,12 @@
     PyObject* args;
 {
     char ch;
+    int src;
     if (self == NULL || !Tn5250_FieldCheck (self))
         return PyErr_Format(PyExc_TypeError, "not a Field.");
     if (!PyArg_ParseTuple(args, "c:Field.valid_char", &ch))
         return NULL;
-    if (self->field != NULL && tn5250_field_valid_char (self->field, ch)) 
{
+    if (self->field != NULL && tn5250_field_valid_char (self->field, ch, 
&src)) {
        Py_INCREF(Py_True);
        return Py_True;
     }

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.