summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/psfed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/psfed.c b/bin/psfed.c
index bb7997e2..dd40b3d5 100644
--- a/bin/psfed.c
+++ b/bin/psfed.c
@@ -419,9 +419,11 @@ static void inputEdit(char ch) {
 		}
 
 		break; case 'p': {
+			if (!edit.copy) break;
 			memcpy(glyph(edit.index), edit.copy, header.glyph.size);
 		}
 		break; case 'u': {
+			if (!edit.undo) break;
 			memcpy(glyph(edit.index), edit.undo, header.glyph.size);
 		}
 	}
prefixcmp()Lukas Fleischer 2014-01-09README: Fix dependenciesLukas Fleischer 2014-01-08README: Spelling and formatting fixesLukas Fleischer 2014-01-08Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch 2014-01-08Add a suggestion to the manpagePřemysl Janouch 2014-01-08Fix the example configurationPřemysl Janouch 2014-01-08Fix about-formatting.shPřemysl Janouch 2014-01-08Fix some spelling errorsPřemysl Janouch 2014-01-08filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts