change a particularly annoying progress bar to fit in 80 columns so

it doesn't wrap and spew all over the console.
This commit is contained in:
sthen 2011-05-08 20:48:10 +00:00
parent f707d73e82
commit f5f770166b
2 changed files with 18 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/06 14:29:14 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2011/05/08 20:48:10 sthen Exp $
COMMENT= read and set MPEG-4/3GPP metadata tags
DISTNAME= AtomicParsley-source-0.9.0
REVISION= 0
EXTRACT_SUFX= .zip
PKGNAME= ${DISTNAME:L:S/-source//}

View File

@ -0,0 +1,16 @@
$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;