This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
addline() | |
{ | |
NEXT="$(printf "%s% $((50-${#LASTNAME}))d% 10d %10d" "$LASTNAME" "$OLD" "$NEW" "$DELTA")" | |
[ -z "$STUFF" ] && | |
STUFF="$NEXT" || | |
STUFF="$(printf "%s\n%s" "$STUFF" "$NEXT")" | |
} | |
bloatcheck() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
char *stpcpy(char *dest, const char *src); | |
#define FONT_HEIGHT 16 | |
#define FONT_WIDTH 8 | |
#define TAB_WIDTH 32 | |
#define TAB_PATH(x) "m" #x " 0" | |
#define ICON_HEIGHT 96 | |
#define ICON_WIDTH 96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <xcb/xcb.h> | |
#include <xcb/xcb_image.h> | |
#define STBI_NO_HDR | |
#define STBI_NO_LINEAR | |
#define STB_IMAGE_IMPLEMENTATION | |
#include "stb_image.h" | |
#define NANOSVG_IMPLEMENTATION | |
#include "nanosvg.h" | |
#define NANOSVGRAST_IMPLEMENTATION | |
#include "nanosvgrast.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file image.c | |
* @author Joe Wingbermuehle | |
* @date 2005-2007 | |
* | |
* @brief Functions to load images. | |
* | |
*/ | |
#include "jwm.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- jwm-master/src/image.c 2015-11-02 20:53:46.000000000 +0800 | |
+++ jwm-stb/src/image.c 2015-11-04 00:14:58.910120109 +0800 | |
@@ -12,11 +12,15 @@ | |
#ifndef MAKE_DEPEND | |
/* We should include png.h here. See jwm.h for an explanation. */ | |
- | |
+#ifdef USE_STB_IMAGE | |
+#define STBI_ASSERT(x) | |
+#define STB_IMAGE_IMPLEMENTATION |