view 3rdparty/packages/ed/deflt.c @ 2494:98e7cb7b3dda

Prevents RS-232 bit at $FF20 from being toggled. RG
author robertgault
date Sun, 04 Apr 2010 02:17:24 +0000
parents bef1844de0dc
children
line wrap: on
line source

/*      deflt.c */
#include <stdio.h>
#include "tools.h"
#include "ed.h"

int deflt(def1, def2)
int def1, def2;
{
  if (nlines == 0) {
        line1 = def1;
        line2 = def2;
  }
  if (line1 > line2 || line1 <= 0) return(ERR);
  return(0);
}