From 459681d3b8093c20a39400c00bcee43d26e964c6 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:42 +0000 Subject: More CD fixes Author: jgg Date: 2000-01-17 07:11:49 GMT More CD fixes --- cmdline/apt-cdrom.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmdline') diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc index 35a024a10..1d742d725 100644 --- a/cmdline/apt-cdrom.cc +++ b/cmdline/apt-cdrom.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-cdrom.cc,v 1.33 2000/01/16 05:36:17 jgg Exp $ +// $Id: apt-cdrom.cc,v 1.34 2000/01/17 07:11:49 jgg Exp $ /* ###################################################################### APT CDROM - Tool for handling APT's CDROM database. @@ -589,8 +589,8 @@ bool DoAdd(CommandLine &) Name = PromptLine(""); if (Name.empty() == false && Name.find('"') == string::npos && - Name.find(':') == string::npos && - Name.find('/') == string::npos) + Name.find('[') == string::npos && + Name.find(']') == string::npos) break; cout << "That is not a valid name, try again " << endl; } -- cgit v1.2.3