From 1fcea3bc5e7d4aa4c4e59a2afb9eefa736190158 Mon Sep 17 00:00:00 2001 From: dglaude Date: Mon, 4 Mar 2002 17:44:10 +0000 Subject: [PATCH] Removed all the // ... from C++ and translated to /* ... * --- server/drivers/MtxOrb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/drivers/MtxOrb.c b/server/drivers/MtxOrb.c index 3acb21d..48ba9e0 100644 --- a/server/drivers/MtxOrb.c +++ b/server/drivers/MtxOrb.c @@ -49,9 +49,9 @@ #include "MtxOrb.h" #include "report.h" -//#include "shared/str.h" -//#include "input.h" -/* Above 3 lines modified by Joris */ +/* #include "shared/str.h" + #include "input.h" + Above 3 lines modified by Joris */ #define INPUT_PAUSE_KEY 'A' #define INPUT_BACK_KEY 'B' #define INPUT_FORWARD_KEY 'C' @@ -312,7 +312,7 @@ MtxOrb_init (Driver *drvthis, char *args) char buf[256] = ""; int tmp, w, h; - MtxOrb_type = MTXORB_LKD; // Assume it's an LCD w/keypad + MtxOrb_type = MTXORB_LKD; /* Assume it's an LCD w/keypad */ debug( RPT_INFO, "MtxOrb: init(%p,%s)", drvthis, args ); @@ -1200,8 +1200,8 @@ MtxOrb_num (Driver *drvthis, int pos, int val) /* Currently we are bignum but if bigalpha is there remove this line */ c=val+'0'; /* We transform from 0-9 to 'O' to '9' */ - if ((pos < -2) || (pos > 20)) return; // are we outisde the visible spectrum - if (('c' < 32) || ('c' > 127)) return; // are we characteristic or not? + if ((pos < -2) || (pos > 20)) return; /* are we outisde the visible spectrum */ + if (('c' < 32) || ('c' > 127)) return; /* are we characteristic or not? */ c -= 32;