fix: allow blank media in medium-info
This resolves the second part of issue #19. This bug was present since upstream v0.79.5
This commit is contained in:
@@ -104,7 +104,7 @@ void PrintMediumInfo(void *mi_ptr)
|
||||
print_defaults(mi);
|
||||
#endif
|
||||
|
||||
image = OpenImageFromDevice(Closure->device);
|
||||
image = OpenImageFromDevice(Closure->device, 2 /* allow blanks, see comment in OpenImageFromDevice() */);
|
||||
if(!image) return;
|
||||
dh = image->dh;
|
||||
QueryBlankCapacity(dh);
|
||||
|
||||
Reference in New Issue
Block a user