network_gui.c
changeset 1304 8570010abe7b
parent 1142 7041f8588a13
child 1309 dab90d4cbf2d
equal deleted inserted replaced
1303:58bc18048f53 1304:8570010abe7b
  1366 	case WE_CLICK:
  1366 	case WE_CLICK:
  1367 		switch(e->click.widget) {
  1367 		switch(e->click.widget) {
  1368 		case 3: DeleteWindow(w); break; // Cancel
  1368 		case 3: DeleteWindow(w); break; // Cancel
  1369 		case 2: // Send
  1369 		case 2: // Send
  1370 press_ok:;
  1370 press_ok:;
  1371 			if (str_eq(WP(w,querystr_d).buf, WP(w,querystr_d).buf + MAX_QUERYSTR_LEN)) {
  1371 			if (strcmp(WP(w,querystr_d).buf, WP(w,querystr_d).buf + MAX_QUERYSTR_LEN) == 0) {
  1372 				DeleteWindow(w);
  1372 				DeleteWindow(w);
  1373 			} else {
  1373 			} else {
  1374 				byte *buf = WP(w,querystr_d).buf;
  1374 				byte *buf = WP(w,querystr_d).buf;
  1375 				WindowClass wnd_class = WP(w,querystr_d).wnd_class;
  1375 				WindowClass wnd_class = WP(w,querystr_d).wnd_class;
  1376 				WindowNumber wnd_num = WP(w,querystr_d).wnd_num;
  1376 				WindowNumber wnd_num = WP(w,querystr_d).wnd_num;