mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
fix gtk invite for sms
This commit is contained in:
parent
4ba1b2418c
commit
2c80787f5c
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ handle_ok( GtkWidget* XP_UNUSED(widget), gpointer closure )
|
|||
case COMMS_CONN_SMS:
|
||||
txt = gtk_entry_get_text( GTK_ENTRY(state->smsport) );
|
||||
state->addr->u.sms.port = atoi( txt );
|
||||
txt = gtk_entry_get_text( GTK_ENTRY(state->smsphone) );
|
||||
XP_STRNCPY( state->addr->u.sms.phone, txt,
|
||||
sizeof(state->addr->u.sms.phone) );
|
||||
break;
|
||||
case COMMS_CONN_MQTT:
|
||||
txt = gtk_entry_get_text( GTK_ENTRY(state->mqttDevID) );
|
||||
|
|
Loading…
Add table
Reference in a new issue