Previous 15994 Revisions Next

r2398 Tuesday 15th April, 2008 at 00:19:56 UTC by Nathan Woods
Fixed bug #1576
[src/mess]image.c

src/mess/image.c
r2397r2398
436436      {
437437         if (device == that_device)
438438            index = count;
439         if (device_get_info_int_offline(device, DEVINFO_INT_IMAGE_TYPE) == type)
439         if (device_get_info_int_offline(that_device, DEVINFO_INT_IMAGE_TYPE) == type)
440440            count++;
441441      }
442442
443443      /* need to number if there is more than one device */
444      if (that_device != NULL)
445         snprintf(buffer, buffer_len, "%s #%d", result, index + 1);
444      if (count > 1)
445         snprintf(buffer, buffer_len, "%s%d", result, index + 1);
446446      else
447447         snprintf(buffer, buffer_len, "%s", result);
448448   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team