Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfont Update usage comment.
details: https://anonhg.NetBSD.org/src/rev/0eb4f919f950
branches: trunk
changeset: 472400:0eb4f919f950
user: ad <ad%NetBSD.org@localhost>
date: Thu Apr 29 02:42:43 1999 +0000
description:
Update usage comment.
diffstat:
sys/dev/wsfont/wsfont.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 1e740074c9b8 -r 0eb4f919f950 sys/dev/wsfont/wsfont.h
--- a/sys/dev/wsfont/wsfont.h Thu Apr 29 02:34:54 1999 +0000
+++ b/sys/dev/wsfont/wsfont.h Thu Apr 29 02:42:43 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsfont.h,v 1.4 1999/04/26 23:41:57 ad Exp $ */
+/* $NetBSD: wsfont.h,v 1.5 1999/04/29 02:42:43 ad Exp $ */
/*
* Copyright (c) 1999 Andy Doran <ad%NetBSD.org@localhost>
@@ -42,10 +42,10 @@
* struct wsdisplay_font *font;
* int cookie;
*
- * if ((cookie = wsfont_find(NULL, 8, 16, 0, 0)) < 0)
+ * if ((cookie = wsfont_find(NULL, 8, 16, 0, 0)) <= 0)
* panic("unable to get 8x16 font");
*
- * if (wsfont_lock(cookie, &font, WSFONT_L2R, WSFONT_R2L) < 0)
+ * if (wsfont_lock(cookie, &font, WSFONT_L2R, WSFONT_R2L) <= 0)
* panic("unable to lock font");
*
* ... do stuff ...
Home |
Main Index |
Thread Index |
Old Index