Browse Source

Fix conn_type enum order

DiabloUI selconn.cp relies on the enum values to be ordered in the same
way as the UI items (e.g. for keyboard navigation).

This restores the order to what it was prior to:
4e29a4b8aa
pull/590/head
Gleb Mazovetskiy 6 years ago committed by Anders Jenbo
parent
commit
763db7a11a
  1. 2
      enums.h

2
enums.h

@ -2920,11 +2920,11 @@ typedef enum dlrg_flag {
} dlrg_flag;
typedef enum conn_type {
SELCONN_LOOPBACK = 0,
#ifndef NONET
SELCONN_TCP,
#ifdef BUGGY
SELCONN_UDP,
#endif
#endif
SELCONN_LOOPBACK,
} conn_type;

Loading…
Cancel
Save