openbsd-ports/multimedia/atomicparsley/patches/patch-AtomicParsley_cpp
sthen f5f770166b change a particularly annoying progress bar to fit in 80 columns so
it doesn't wrap and spew all over the console.
2011-05-08 20:48:10 +00:00

17 lines
759 B
Plaintext

$OpenBSD: patch-AtomicParsley_cpp,v 1.1 2011/05/08 20:48:10 sthen Exp $
--- AtomicParsley.cpp.orig Sun May 8 20:48:55 2011
+++ AtomicParsley.cpp Sun May 8 20:50:01 2011
@@ -96,11 +96,7 @@ struct padding_preferences pad_prefs;
bool contains_unsupported_64_bit_atom = false; //reminder that there are some 64-bit files that aren't yet supported (and where that limit is set)
-#if defined (WIN32) || defined (__CYGWIN__)
-short max_display_width = 45;
+short max_display_width = 62;
-#else
-short max_display_width = 75; //ah, figured out grub - vga=773 makes a whole new world open up
-#endif
char* file_progress_buffer=(char*)calloc(1, sizeof(char)* (max_display_width+50) ); //+50 for any overflow in "%100", or "|"
struct PicPrefs myPicturePrefs;