src/graph_gui.cpp
changeset 5609 dc6a58930ba4
parent 5601 d58f82901b2f
child 5668 36b39f4a9032
equal deleted inserted replaced
5608:0b0aff054402 5609:dc6a58930ba4
  1149 {
  1149 {
  1150 	const Sign *si;
  1150 	const Sign *si;
  1151 	uint n = 0;
  1151 	uint n = 0;
  1152 
  1152 
  1153 	/* Create array for sorting */
  1153 	/* Create array for sorting */
  1154 	ReallocT(&_sign_sort, GetMaxSignIndex() + 1);
  1154 	_sign_sort = ReallocT(_sign_sort, GetMaxSignIndex() + 1);
  1155 	if (_sign_sort == NULL) error("Could not allocate memory for the sign-sorting-list");
  1155 	if (_sign_sort == NULL) error("Could not allocate memory for the sign-sorting-list");
  1156 
  1156 
  1157 	FOR_ALL_SIGNS(si) _sign_sort[n++] = si;
  1157 	FOR_ALL_SIGNS(si) _sign_sort[n++] = si;
  1158 	_num_sign_sort = n;
  1158 	_num_sign_sort = n;
  1159 
  1159