File diff r14125:3ee08ca0423e → r14126:f23988064e74
src/screenshot.cpp
Show inline comments
 
@@ -350,13 +350,13 @@ static bool MakePCXImage(const char *nam
 
	uint maxlines;
 
	uint y;
 
	PcxHeader pcx;
 
	bool success;
 

	
 
	if (pixelformat == 32) {
 
		DEBUG(misc, 0, "Can't convert a 32bpp screenshot to PCX format. Please pick an other format.");
 
		DEBUG(misc, 0, "Can't convert a 32bpp screenshot to PCX format. Please pick another format.");
 
		return false;
 
	}
 
	if (pixelformat != 8 || w == 0)
 
		return false;
 

	
 
	f = fopen(name, "wb");